diff options
author | Adrian Graber <adrian@adriangraber.com> | 2021-07-13 01:11:42 +0200 |
---|---|---|
committer | Adrian Graber <adrian@adriangraber.com> | 2021-07-13 01:18:49 +0200 |
commit | 6665b16ba279f9d92c5a5b2ddc62dd584e20b581 (patch) | |
tree | 1afbad268cc33b440c406ffa254304b3f819147c /.github/workflows/build-switch.yml | |
parent | disable USE_CUTSCENE_SHADOW_FOR_PED if COMPATIBLE_SAVES isn't defined (diff) | |
download | re3-6665b16ba279f9d92c5a5b2ddc62dd584e20b581.tar re3-6665b16ba279f9d92c5a5b2ddc62dd584e20b581.tar.gz re3-6665b16ba279f9d92c5a5b2ddc62dd584e20b581.tar.bz2 re3-6665b16ba279f9d92c5a5b2ddc62dd584e20b581.tar.lz re3-6665b16ba279f9d92c5a5b2ddc62dd584e20b581.tar.xz re3-6665b16ba279f9d92c5a5b2ddc62dd584e20b581.tar.zst re3-6665b16ba279f9d92c5a5b2ddc62dd584e20b581.zip |
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/build-switch.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/build-switch.yml b/.github/workflows/build-switch.yml new file mode 100644 index 00000000..6ea45720 --- /dev/null +++ b/.github/workflows/build-switch.yml @@ -0,0 +1,29 @@ + +name: re3 cmake devkitA64 (Nintendo Switch) +on: + pull_request: + push: + release: + types: published +jobs: + build-nintendo-switch: + runs-on: ubuntu-latest + container: devkitpro/devkita64:latest + steps: + - uses: actions/checkout@v2 + with: + submodules: 'true' + - name: "Build files" + run: | + /opt/devkitpro/portlibs/switch/bin/aarch64-none-elf-cmake -S. -Bbuild -DREVC_AUDIO=OAL -DLIBRW_PLATFORM=GL3 -DLIBRW_GL3_GFXLIB=GLFW -DREVC_WITH_OPUS=False -DREVC_VENDORED_LIBRW=True -DREVC_INSTALL=True + cmake --build build --parallel + - name: "Create binary package (cpack)" + working-directory: ./build + run: | + cpack + - name: "Archive binary package (github artifacts)" + uses: actions/upload-artifact@v2 + with: + name: "switch-gl3" + path: build/*.zip + if-no-files-found: error
\ No newline at end of file |