add SDL_image #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
jobs: | |
job: | |
name: ${{ matrix.os }}-${{ matrix.build-type }} | |
runs-on: ${{matrix.os}} | |
strategy: | |
fail-fast: false | |
matrix: | |
build-type: [ Debug, Release ] | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies (Ubuntu) | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential git make pkg-config cmake \ | |
ninja-build gnome-desktop-testing libasound2-dev libpulse-dev \ | |
libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev \ | |
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev \ | |
libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev \ | |
libudev-dev fcitx-libs-dev libpipewire-0.3-dev libwayland-dev \ | |
libdecor-0-dev liburing-dev | |
- name: Create Build Environment | |
run: cmake -E make_directory ${{github.workspace}}/build | |
- name: Configure CMake | |
shell: bash | |
working-directory: ${{github.workspace}}/build | |
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} | |
- name: Build | |
working-directory: ${{github.workspace}}/build | |
shell: bash | |
run: cmake --build . --config ${{ matrix.build-type }} | |
on: [ push ] |