Support running unit tests on gitlab CI for windows

But not actually run them because gitlab fails to do this.
pull/593/head
elsid 4 years ago
parent 3ef1b27099
commit 959165bcb9
No known key found for this signature in database
GPG Key ID: D27B8E8D10A2896B

@ -171,7 +171,7 @@ variables: &cs-targets
package: "CS" package: "CS"
variables: &tests-targets variables: &tests-targets
targets: "openmw_detournavigator_navmeshtilescache_benchmark" targets: "openmw_test_suite,openmw_detournavigator_navmeshtilescache_benchmark"
package: "Tests" package: "Tests"
.Windows_Ninja_Base: .Windows_Ninja_Base:
@ -192,7 +192,7 @@ variables: &tests-targets
- $time = (Get-Date -Format "HH:mm:ss") - $time = (Get-Date -Format "HH:mm:ss")
- echo ${time} - echo ${time}
- echo "started by ${GITLAB_USER_NAME}" - 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 - cd MSVC2019_64_Ninja
- .\ActivateMSVC.ps1 - .\ActivateMSVC.ps1
- cmake --build . --config $config --target ($targets.Split(',')) - cmake --build . --config $config --target ($targets.Split(','))
@ -274,8 +274,8 @@ Windows_Ninja_Tests_RelWithDebInfo:
variables: variables:
<<: *tests-targets <<: *tests-targets
config: "RelWithDebInfo" config: "RelWithDebInfo"
# Gitlab can't successfully execute benchamark binary due to unknown reason # Gitlab can't successfully execute following binaries due to unknown reason
# executables: "openmw_detournavigator_navmeshtilescache_benchmark.exe" # executables: "openmw_test_suite.exe,openmw_detournavigator_navmeshtilescache_benchmark.exe"
.Windows_MSBuild_Base: .Windows_MSBuild_Base:
tags: tags:
@ -294,7 +294,7 @@ Windows_Ninja_Tests_RelWithDebInfo:
- $time = (Get-Date -Format "HH:mm:ss") - $time = (Get-Date -Format "HH:mm:ss")
- echo ${time} - echo ${time}
- echo "started by ${GITLAB_USER_NAME}" - 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 - cd MSVC2019_64
- cmake --build . --config $config --target ($targets.Split(',')) - cmake --build . --config $config --target ($targets.Split(','))
- cd $config - cd $config
@ -375,8 +375,8 @@ Windows_MSBuild_Tests_RelWithDebInfo:
variables: variables:
<<: *tests-targets <<: *tests-targets
config: "RelWithDebInfo" config: "RelWithDebInfo"
# Gitlab can't successfully execute benchamark binary due to unknown reason # Gitlab can't successfully execute following binaries due to unknown reason
# executables: "openmw_detournavigator_navmeshtilescache_benchmark.exe" # executables: "openmw_test_suite.exe,openmw_detournavigator_navmeshtilescache_benchmark.exe"
Debian_AndroidNDK_arm64-v8a: Debian_AndroidNDK_arm64-v8a:
tags: tags:

Loading…
Cancel
Save