CI: Try to build NazaraCore on macOS

This commit is contained in:
Jérôme Leclercq
2022-03-19 23:29:19 +01:00
parent 10cba985fb
commit 04dfd25c74
6 changed files with 25 additions and 6 deletions

View File

@@ -58,3 +58,22 @@ jobs:
# Setup compilation mode and install project dependencies
- name: Configure xmake and install dependencies
run: xmake config --shadernodes=y --tests=y --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --yes
# Build the engine
- name: Build Nazara
run: xmake build NazaraCore
# Run unit tests
#- name: Run unit tests
# if: matrix.mode != 'releasedbg'
# run: xmake run NazaraUnitTests
# Install the result files
- name: Install Nazara
run: xmake install -vo package
# Upload artifacts
- uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.mode }}
path: package