Skip to content

Commit 6e339ea

Browse files
Build tests on Windows, even if we don't run them
1 parent aa5d8af commit 6e339ea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,6 @@ jobs:
117117
[void](Get-UvEnvironment "--group=build")
118118
- name: Build & Test
119119
shell: pwsh
120-
# 17.* select VS 2022
120+
# 17.* selects VS 2022
121121
run: |
122-
tools/ci.ps1 -VSVersion 17.* -TargetArch "${{matrix.arch}}" -UseVcpkg
122+
tools/ci.ps1 -VSVersion 17.* -TargetArch ${{matrix.arch}} -UseVcpkg -BuildTesting

tools/ci.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $uv_vs_env.Add("CXX", "cl.exe")
4646
Invoke-WithEnvironment $uv_vs_env {
4747
$settings = @{
4848
AMONGOC_USE_PMM = $UseVcpkg;
49-
BUILD_TESTING = $Test;
49+
BUILD_TESTING = $Test -or $BuildTesting;
5050
AMONGOC_COMPILE_WARNING_AS_ERROR = $WarningsAsErrors;
5151
CMAKE_CROSS_CONFIGS = $Configs -join ';';
5252
CMAKE_DEFAULT_CONFIGS = "all";

0 commit comments

Comments
 (0)