Skip to content

Commit c90ee43

Browse files
committed
ci: Add "x86_64: Windows (VS 2022)" task
1 parent c6e3c0c commit c90ee43

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.cirrus.yml

+27
Original file line numberDiff line numberDiff line change
@@ -382,3 +382,30 @@ task:
382382
test_script:
383383
- cd sage
384384
- sage prove_group_implementations.sage
385+
386+
task:
387+
name: "x86_64: Windows (VS 2022)"
388+
windows_container:
389+
image: cirrusci/windowsservercore:visualstudio2022
390+
cpu: 4
391+
memory: 3840MB
392+
env:
393+
PATH: '%CIRRUS_WORKING_DIR%\build\src\Release;%PATH%'
394+
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
395+
# Ignore MSBuild warning MSB8029.
396+
# See: https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb8029?view=vs-2022
397+
IgnoreWarnIntDirInTempDetected: 'true'
398+
merge_script:
399+
- 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; }
400+
configure_script:
401+
- '%x64_NATIVE_TOOLS%'
402+
- cmake -G "Visual Studio 17 2022" -A x64 -S . -B build -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON
403+
build_script:
404+
- '%x64_NATIVE_TOOLS%'
405+
- cmake --build build --config Release -j 5 -- /p:CL_MPcount=5
406+
check_script:
407+
- '%x64_NATIVE_TOOLS%'
408+
- ctest --test-dir build -j 5
409+
- build\src\Release\bench_ecmult.exe
410+
- build\src\Release\bench_internal.exe
411+
- build\src\Release\bench.exe

0 commit comments

Comments
 (0)