macOS: Try to run unit tests
This commit is contained in:
17
.github/workflows/macos-build.yml
vendored
17
.github/workflows/macos-build.yml
vendored
@@ -29,11 +29,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# Install system dependencies
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
brew install libx11
|
||||
|
||||
# Force xmake to a specific folder (for cache)
|
||||
- name: Set xmake env
|
||||
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" >> $GITHUB_ENV
|
||||
@@ -67,20 +62,16 @@ jobs:
|
||||
# Build the engine
|
||||
- name: Build Nazara
|
||||
run: |
|
||||
xmake build -v NazaraRenderer
|
||||
xmake build -v NazaraPhysics2D
|
||||
xmake build -v NazaraPhysics3D
|
||||
xmake build -v NazaraGraphics
|
||||
xmake build -v NazaraWidgets
|
||||
xmake build -v NazaraAudio
|
||||
xmake build -v NazaraNetwork
|
||||
xmake build -v NazaraShaderNodes
|
||||
xmake build -v PluginAssimp
|
||||
xmake build -v NazaraUnitTests
|
||||
|
||||
# Run unit tests
|
||||
#- name: Run unit tests
|
||||
# if: matrix.mode != 'releasedbg'
|
||||
# run: xmake run NazaraUnitTests
|
||||
- name: Run unit tests
|
||||
if: matrix.mode != 'releasedbg'
|
||||
run: xmake run NazaraUnitTests
|
||||
|
||||
# Install the result files
|
||||
# - name: Install Nazara
|
||||
|
||||
Reference in New Issue
Block a user