Gate 10thAE mods behind an RT flag; build 10thae + vanilla variants
This commit is contained in:
@@ -11,15 +11,21 @@ jobs:
|
||||
build-nintendo-switch:
|
||||
runs-on: ubuntu-latest
|
||||
container: devkitpro/devkita64:latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- { name: 10thae, rt: "ON" }
|
||||
- { name: vanilla, rt: "OFF" }
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Build files
|
||||
|
||||
- name: Build files (${{ matrix.name }})
|
||||
run: |
|
||||
mkdir -p build
|
||||
cd build
|
||||
@@ -31,17 +37,18 @@ jobs:
|
||||
-DRE3_WITH_OPUS=False \
|
||||
-DRE3_VENDORED_LIBRW=True \
|
||||
-DRE3_INSTALL=True \
|
||||
-DRE3_RT=${{ matrix.rt }} \
|
||||
..
|
||||
cmake --build . --parallel $(nproc)
|
||||
|
||||
|
||||
- name: Create binary package (cpack)
|
||||
working-directory: ./build
|
||||
run: |
|
||||
cpack -G TXZ
|
||||
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "switch-gl3"
|
||||
name: "switch-gl3-${{ matrix.name }}"
|
||||
path: build//*.tar.xz
|
||||
if-no-files-found: error
|
||||
|
||||
Reference in New Issue
Block a user