Skip to content

Commit d2408e0

Browse files
committed
ci: Add "x86_64: Windows (VS 2022)" task
1 parent 48cf323 commit d2408e0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.cirrus.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,27 @@ task:
152152
test_script:
153153
- ./ci/cirrus.sh
154154
<< : *CAT_LOGS
155+
156+
task:
157+
name: "x86_64: Windows (VS 2022)"
158+
windows_container:
159+
image: cirrusci/windowsservercore:visualstudio2022
160+
cpu: 4
161+
memory: 3840MB
162+
env:
163+
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
164+
# Ignore MSBuild warning MSB8029.
165+
# See: https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb8029?view=vs-2022
166+
IgnoreWarnIntDirInTempDetected: 'true'
167+
merge_script:
168+
- PowerShell -NoLogo -Command if ($env:CIRRUS_PR -ne $null) { git fetch $env:CIRRUS_REPO_CLONE_URL pull/$env:CIRRUS_PR/merge; git reset --hard FETCH_HEAD; }
169+
configure_script:
170+
- '%x64_NATIVE_TOOLS%'
171+
- cmake -G "Visual Studio 17 2022" -A x64 -S . -B build
172+
build_script:
173+
- '%x64_NATIVE_TOOLS%'
174+
- cmake --build build --config Release --target minisketch_test minisketch_test_verify minisketch_bench -j 5 -- /p:CL_MPcount=5
175+
check_script:
176+
- build\Release\minisketch_test.exe
177+
- build\Release\minisketch_test_verify.exe
178+
- build\Release\minisketch_bench.exe

0 commit comments

Comments
 (0)