Skip to content

Commit 66b4133

Browse files
committed
ci: Add "x86_64: Windows (VS 2022)" task
1 parent ed2ffa4 commit 66b4133

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.cirrus.yml

+22
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,25 @@ task:
155155
test_script:
156156
- ./ci/cirrus.sh
157157
<< : *CAT_LOGS
158+
159+
task:
160+
name: "x86_64: Windows (VS 2022)"
161+
windows_container:
162+
image: cirrusci/windowsservercore:visualstudio2022
163+
cpu: 4
164+
memory: 3840MB
165+
env:
166+
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
167+
# Ignore MSBuild warning MSB8029.
168+
# See: https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb8029?view=vs-2022
169+
IgnoreWarnIntDirInTempDetected: 'true'
170+
configure_script:
171+
- '%x64_NATIVE_TOOLS%'
172+
- cmake -B build -G "Visual Studio 17 2022" -A x64 -DMINISKETCH_BENCHMARK=ON
173+
build_script:
174+
- '%x64_NATIVE_TOOLS%'
175+
- cmake --build build --config Release -j 5 -- /property:CL_MPcount=5
176+
check_script:
177+
- build\src\Release\minisketch_test.exe
178+
- build\src\Release\minisketch_test_verify.exe
179+
- build\src\Release\minisketch_bench.exe

0 commit comments

Comments
 (0)