Skip to content

Commit

Permalink
build vita in the nightly job
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Thamdrup <[email protected]>
  • Loading branch information
dallemon authored and pionere committed Feb 7, 2024
1 parent 1bff931 commit 194b880
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,54 @@ jobs:
name: ${{ matrix.artifact }}
path: build-ps4/devilutionx-ps4.pkg

# vita-builds
build_vita:
needs: build_check
if: ${{ needs.build_check.outputs.should_run != 'false' }}
name: Nightly-VITA
strategy:
fail-fast: false
matrix:
#name: [diablo, hellfire]
include:
- name: diablo
cmakeargs: '-DNONET=ON'
artifact: 'diablo-nightly-vita.vpk'
- name: hellfire
cmakeargs: '-DNONET=ON -DHELLFIRE=ON'
artifact: 'hellfire-nightly-vita.vpk'
- name: diablo-vita
cmakeargs: '-DNONET=ON -D USE_PATCH=ON'
artifact: 'diablo-nightly-vita.vpk'
- name: hellfire-vita
cmakeargs: '-DNONET=ON -D USE_PATCH=ON -DHELLFIRE=ON'
artifact: 'hellfire-nightly-vita.vpk'
runs-on: ubuntu-22.04
container: vitasdk/vitasdk:latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Create Build Environment
run: apk add git ninja gettext

- name: Configure CMake
run: |
cmake -S. -Bbuild -GNinja \
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{ matrix.cmakeargs }} \
-DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake
- name: Build
run: cmake --build build -j $(sysctl -n hw.physicalcpu)

- name: Upload Package
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact }}
path: ./build/devilutionx.vpk

# Releases
release:
needs: [build_check, build_msvc, build_mingw, build_mingw_x64, build_mac, build_ios, build_android, build_rg350, build_lepus, build_retrofw, build_ps4]
Expand Down

0 comments on commit 194b880

Please sign in to comment.