Skip to content

Commit

Permalink
ci: Add "x86_64: Windows (VS 2022)" task
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Apr 26, 2024
1 parent be68da4 commit 300dd9a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,25 @@ task:
test_script:
- ./ci/cirrus.sh
<< : *CAT_LOGS

task:
name: "x86_64: Windows (VS 2022)"
windows_container:
image: cirrusci/windowsservercore:visualstudio2022
cpu: 4
memory: 3840MB
env:
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
# Ignore MSBuild warning MSB8029.
# See: https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb8029?view=vs-2022
IgnoreWarnIntDirInTempDetected: 'true'
configure_script:
- '%x64_NATIVE_TOOLS%'
- cmake -B build -G "Visual Studio 17 2022" -A x64 -DMINISKETCH_BENCHMARK=ON
build_script:
- '%x64_NATIVE_TOOLS%'
- cmake --build build --config Release -j 5 -- /property:CL_MPcount=5
check_script:
- build\src\Release\test.exe
- build\src\Release\test-verify.exe
- build\src\Release\bench.exe

0 comments on commit 300dd9a

Please sign in to comment.