mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-08 22:59:54 +03:00
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.
30 lines
761 B
YAML
30 lines
761 B
YAML
name: Nintendo Switch Build
|
|
# Disabled: devkitPro provides no SDL3 portlib yet, so the Switch build cannot be
|
|
# migrated off SDL2. Run manually once an SDL3 portlib is available.
|
|
on: workflow_dispatch
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container: devkitpro/devkita64:latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Build
|
|
run: |
|
|
mkdir -p out/switch
|
|
cd out/switch
|
|
/opt/devkitpro/portlibs/switch/bin/aarch64-none-elf-cmake -DCMAKE_BUILD_TYPE=Release ../../
|
|
make -j4
|
|
mkdir system3
|
|
mv system3.* system3/
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: system3-switch
|
|
path: out/switch/system3
|