Skip to content

Commit b2e29e4

Browse files
committed
ci: Treat all compiler warnings as errors in "Windows (VS 2022)" task
1 parent 3c81838 commit b2e29e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cirrus.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ task:
397397
- 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; }
398398
configure_script:
399399
- '%x64_NATIVE_TOOLS%'
400-
- cmake -G "Visual Studio 17 2022" -A x64 -S . -B build -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON
400+
- cmake -E env CFLAGS="/WX" cmake -G "Visual Studio 17 2022" -A x64 -S . -B build -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON
401401
build_script:
402402
- '%x64_NATIVE_TOOLS%'
403403
- cmake --build build --config RelWithDebInfo -- -property:UseMultiToolTask=true;CL_MPcount=5

0 commit comments

Comments
 (0)