diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-16 19:02:40 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-16 19:02:40 +0200 |
commit | 8641e9d0bb123580a7a8b701a72c1a813503bc9a (patch) | |
tree | be236ef46d2f585da1c266597637151fc80ae55d /.github/workflows | |
parent | Fix ped comments playing at full volume behind the wall (diff) | |
parent | Use svcGetInfo definitions from libnx (diff) | |
download | re3-8641e9d0bb123580a7a8b701a72c1a813503bc9a.tar re3-8641e9d0bb123580a7a8b701a72c1a813503bc9a.tar.gz re3-8641e9d0bb123580a7a8b701a72c1a813503bc9a.tar.bz2 re3-8641e9d0bb123580a7a8b701a72c1a813503bc9a.tar.lz re3-8641e9d0bb123580a7a8b701a72c1a813503bc9a.tar.xz re3-8641e9d0bb123580a7a8b701a72c1a813503bc9a.tar.zst re3-8641e9d0bb123580a7a8b701a72c1a813503bc9a.zip |
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build-switch.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/build-switch.yml b/.github/workflows/build-switch.yml new file mode 100644 index 00000000..46e1d501 --- /dev/null +++ b/.github/workflows/build-switch.yml @@ -0,0 +1,28 @@ +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 -DRE3_AUDIO=OAL -DLIBRW_PLATFORM=GL3 -DLIBRW_GL3_GFXLIB=GLFW -DRE3_WITH_OPUS=False -DRE3_VENDORED_LIBRW=True -DRE3_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 |