|
|
|
|
@ -58,6 +58,20 @@ jobs:
|
|
|
|
|
- run: cd build && cmake -DNIGHTLY_BUILD=ON -DCMAKE_TOOLCHAIN_FILE=../CMake/mingwcc.cmake .. |
|
|
|
|
- run: cd build && cmake --build . -j $(nproc) |
|
|
|
|
- store_artifacts: {path: ./build/devilutionx.exe, destination: devilutionx_x86.exe} |
|
|
|
|
switch: |
|
|
|
|
docker: |
|
|
|
|
- image: devkitpro/devkita64:latest |
|
|
|
|
working_directory: ~/repo |
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- run: echo deb http://deb.debian.org/debian stretch-backports main > /etc/apt/sources.list.d/debian-backports.list |
|
|
|
|
- run: apt-get update && apt-get install -y -t stretch-backports cmake |
|
|
|
|
- run: dkp-pacman -Syu --noconfirm |
|
|
|
|
# Install cmake files (https://github.com/devkitPro/docker/issues/3) |
|
|
|
|
- run: dkp-pacman -S --needed --noconfirm --quiet devkitpro-pkgbuild-helpers |
|
|
|
|
- run: cd build && cmake .. -DBINARY_RELEASE=ON -DNONET=ON -DPREFILL_PLAYER_NAME=ON -DCMAKE_TOOLCHAIN_FILE=../CMake/switch/devkita64-libnx.cmake |
|
|
|
|
- run: cd build && cmake --build . -j $(nproc) |
|
|
|
|
- store_artifacts: {path: ./build/devilutionx.nro, destination: devilutionx.nro} |
|
|
|
|
|
|
|
|
|
workflows: |
|
|
|
|
version: 2 |
|
|
|
|
@ -67,3 +81,4 @@ workflows:
|
|
|
|
|
- linux_x86 |
|
|
|
|
- windows_x86 |
|
|
|
|
- linux_x86_64_sdl1 |
|
|
|
|
- switch |
|
|
|
|
|