Add basic GitHub Actions for Libretro Nintendo Switch

This commit is contained in:
scribam 2021-07-12 21:32:42 +02:00 committed by flyinghead
parent 63a3f02368
commit f187f77e3d
1 changed files with 19 additions and 0 deletions

19
.github/workflows/libretro-switch.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Libretro - Nintendo Switch CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
container: devkitpro/devkita64:latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: CMake
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$DEVKITPRO/cmake/Switch.cmake -DLIBRETRO=ON
cmake --build build --config Release --parallel 2