mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-30 03:32:36 +00:00
Support running unit tests on gitlab CI for windows
But not actually run them because gitlab fails to do this.
This commit is contained in:
parent
3ef1b27099
commit
959165bcb9
@ -171,7 +171,7 @@ variables: &cs-targets
|
||||
package: "CS"
|
||||
|
||||
variables: &tests-targets
|
||||
targets: "openmw_detournavigator_navmeshtilescache_benchmark"
|
||||
targets: "openmw_test_suite,openmw_detournavigator_navmeshtilescache_benchmark"
|
||||
package: "Tests"
|
||||
|
||||
.Windows_Ninja_Base:
|
||||
@ -192,7 +192,7 @@ variables: &tests-targets
|
||||
- $time = (Get-Date -Format "HH:mm:ss")
|
||||
- echo ${time}
|
||||
- echo "started by ${GITLAB_USER_NAME}"
|
||||
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V -N -b
|
||||
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V -N -b -t
|
||||
- cd MSVC2019_64_Ninja
|
||||
- .\ActivateMSVC.ps1
|
||||
- cmake --build . --config $config --target ($targets.Split(','))
|
||||
@ -274,8 +274,8 @@ Windows_Ninja_Tests_RelWithDebInfo:
|
||||
variables:
|
||||
<<: *tests-targets
|
||||
config: "RelWithDebInfo"
|
||||
# Gitlab can't successfully execute benchamark binary due to unknown reason
|
||||
# executables: "openmw_detournavigator_navmeshtilescache_benchmark.exe"
|
||||
# Gitlab can't successfully execute following binaries due to unknown reason
|
||||
# executables: "openmw_test_suite.exe,openmw_detournavigator_navmeshtilescache_benchmark.exe"
|
||||
|
||||
.Windows_MSBuild_Base:
|
||||
tags:
|
||||
@ -294,7 +294,7 @@ Windows_Ninja_Tests_RelWithDebInfo:
|
||||
- $time = (Get-Date -Format "HH:mm:ss")
|
||||
- echo ${time}
|
||||
- echo "started by ${GITLAB_USER_NAME}"
|
||||
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V -b
|
||||
- sh CI/before_script.msvc.sh -c $config -p Win64 -v 2019 -k -V -b -t
|
||||
- cd MSVC2019_64
|
||||
- cmake --build . --config $config --target ($targets.Split(','))
|
||||
- cd $config
|
||||
@ -375,8 +375,8 @@ Windows_MSBuild_Tests_RelWithDebInfo:
|
||||
variables:
|
||||
<<: *tests-targets
|
||||
config: "RelWithDebInfo"
|
||||
# Gitlab can't successfully execute benchamark binary due to unknown reason
|
||||
# executables: "openmw_detournavigator_navmeshtilescache_benchmark.exe"
|
||||
# Gitlab can't successfully execute following binaries due to unknown reason
|
||||
# executables: "openmw_test_suite.exe,openmw_detournavigator_navmeshtilescache_benchmark.exe"
|
||||
|
||||
Debian_AndroidNDK_arm64-v8a:
|
||||
tags:
|
||||
|
Loading…
x
Reference in New Issue
Block a user