Skip to content

Commit 8d2960c

Browse files
Merge bitcoin-core/secp256k1#1397: ci: Remove "Windows (VS 2022)" task from Cirrus CI
f1774e5 ci, gha: Make MSVC job presentation more explicit (Hennadii Stepanov) 5ee039b ci: Remove "Windows (VS 2022)" task from Cirrus CI (Hennadii Stepanov) Pull request description: A follow-up for bitcoin-core/secp256k1#1389. bitcoin-core/secp256k1#1389 (comment): > Or actually... hebasto Can you remove the second commit for now, if we're unsure whether this works at all. --- Second commit effect: - [before (master branch)](https://github.com/bitcoin-core/secp256k1/actions/runs/5809860925): ![image](https://github.com/bitcoin-core/secp256k1/assets/32963518/041439a5-8d1a-4740-85c3-4223e8cd9f70) - [after (this PR)](https://github.com/bitcoin-core/secp256k1/actions/runs/5810140851): ![image](https://github.com/bitcoin-core/secp256k1/assets/32963518/9e0c8f2c-1ba6-4df9-8720-542788b24da6) ACKs for top commit: real-or-random: utACK f1774e5 Tree-SHA512: ed36c5cef3ba4cf6769d480358f753ecc4a8a150103201f586b05d8d364c580ff637fe5b915918c695c8f7067c1bd7de6384eea1a12d1b8575ba5b629779ebf4
2 parents 96294c0 + f1774e5 commit 8d2960c

File tree

2 files changed

+3
-35
lines changed

2 files changed

+3
-35
lines changed

.cirrus.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -378,35 +378,3 @@ task:
378378
test_script:
379379
- cd sage
380380
- sage prove_group_implementations.sage
381-
382-
task:
383-
name: "x86_64: Windows (VS 2022)"
384-
windows_container:
385-
image: cirrusci/windowsservercore:visualstudio2022
386-
cpu: 4
387-
memory: 3840MB
388-
env:
389-
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
390-
# Ignore MSBuild warning MSB8029.
391-
# See: https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb8029?view=vs-2022
392-
IgnoreWarnIntDirInTempDetected: 'true'
393-
matrix:
394-
- env:
395-
BUILD_SHARED_LIBS: ON
396-
- env:
397-
BUILD_SHARED_LIBS: OFF
398-
git_show_script:
399-
# Print commit to allow reproducing the job outside of CI.
400-
- git show --no-patch
401-
configure_script:
402-
- '%x64_NATIVE_TOOLS%'
403-
- cmake -E env CFLAGS="/WX" cmake -A x64 -B build -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS%
404-
build_script:
405-
- '%x64_NATIVE_TOOLS%'
406-
- cmake --build build --config RelWithDebInfo -- -property:UseMultiToolTask=true;CL_MPcount=5
407-
check_script:
408-
- '%x64_NATIVE_TOOLS%'
409-
- ctest -C RelWithDebInfo --test-dir build -j 5
410-
- build\src\RelWithDebInfo\bench_ecmult.exe
411-
- build\src\RelWithDebInfo\bench_internal.exe
412-
- build\src\RelWithDebInfo\bench.exe

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ env:
1212

1313
jobs:
1414
win64-native:
15-
name: "x86_64: Windows (VS 2022)"
15+
name: "x86_64: Windows, VS 2022"
1616
# See: https://github.com/actions/runner-images#available-images.
1717
runs-on: windows-2022
1818

1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
build_shared_libs: ['ON', 'OFF']
22+
lib_type: ['shared', 'static']
2323

2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@v3
2727

2828
- name: Generate buildsystem
29-
run: cmake -E env CFLAGS="/WX" cmake -B build -A x64 -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=${{ matrix.build_shared_libs }}
29+
run: cmake -E env CFLAGS="/WX" cmake -B build -A x64 -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DSECP256K1_BUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=${{ matrix.lib_type == 'shared' && 'ON' || 'OFF' }}
3030

3131
- name: Build
3232
run: cmake --build build --config RelWithDebInfo -- /p:UseMultiToolTask=true /maxCpuCount

0 commit comments

Comments
 (0)