Build: Disable unit tests build (and requirements) by default

This commit is contained in:
Lynix 2022-01-18 06:25:33 +01:00
parent 22c99bfd1d
commit 9f05a22db7
6 changed files with 102 additions and 102 deletions

View File

@ -63,7 +63,7 @@ jobs:
# Setup compilation mode and install project dependencies
- name: Configure xmake and install dependencies
run: xmake config --shadernodes=y --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --verbose --yes
run: xmake config --shadernodes=y --tests=y --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --verbose --yes
# Build the engine
- name: Build Nazara

View File

@ -72,7 +72,7 @@ jobs:
# Setup compilation mode and install project dependencies
- name: Configure xmake and install dependencies
run: xmake config --shadernodes=y --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --verbose --yes
run: xmake config --shadernodes=y --tests=y --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --verbose --yes
# Build the engine
- name: Build Nazara

View File

@ -55,7 +55,7 @@ jobs:
# Setup compilation mode and install project dependencies
- name: Configure xmake and install dependencies
run: xmake.exe config --shadernodes=y --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --verbose --yes
run: xmake.exe config --shadernodes=y --tests=y --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --verbose --yes
# Build the engine
- name: Build Nazara

View File

@ -1,5 +1,5 @@
option("tests")
set_default(true)
set_default(false)
set_showmenu(true)
set_description("Build unit tests")