Files
kichikuou_system3-sdl2/.github/workflows/linux.yml
T
kichikuou af69b3cfb3 Migrate to SDL3 (except for Android and Switch)
Switch desktop/emscripten builds from SDL2 to SDL3, applying only the
API changes that cannot compile through the SDL_oldnames.h aliases. Pure
renames will be swept in a follow-up commit.
2026-09-10 20:47:34 +09:00

29 lines
650 B
YAML

name: Linux Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-26.04
strategy:
matrix:
build-type: ["Debug", "Release"]
name: Linux ${{ matrix.build-type }}
steps:
- uses: actions/checkout@v6
with:
submodules: true
- name: Install Deps
run: |
sudo apt update
sudo apt install libsdl3-dev libsdl3-ttf-dev librtmidi-dev nlohmann-json3-dev ninja-build
- name: Build
run: |
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
cmake --build build
- name: Test
run: ctest --output-on-failure --test-dir build