mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-02 11:58:01 +03:00
- Bundle resources folder through romfs - Added Switch-exclusive romfs init/exit code - Add icon for NRO - Add Switch-exclusive CMake code for NACP/NRO generation - Add GitHub Actions Switch workflow
28 lines
613 B
YAML
28 lines
613 B
YAML
name: Nintendo Switch Build
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container: devkitpro/devkita64:latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
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 ../../src/
|
|
make
|
|
mkdir system3
|
|
mv system3.* system3/
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: system3-switch
|
|
path: out/switch/system3
|