File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ pull_request :
4+ push :
5+ branches :
6+ - ' **'
7+ tags-ignore :
8+ - ' **'
9+
10+ env :
11+ SECP256K1_BENCH_ITERS : 2
12+
13+ jobs :
14+ win64-native :
15+ name : " x86_64: Windows (VS 2022)"
16+ # See: https://github.com/actions/runner-images#available-images.
17+ runs-on : windows-2022
18+
19+ strategy :
20+ fail-fast : false
21+ matrix :
22+ build_shared_libs : ['ON', 'OFF']
23+
24+ steps :
25+ - name : Checkout
26+ uses : actions/checkout@v3
27+
28+ - 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 }}
30+
31+ - name : Build
32+ run : cmake --build build --config RelWithDebInfo -- /p:UseMultiToolTask=true /maxCpuCount
33+
34+ - name : Check
35+ run : |
36+ ctest -C RelWithDebInfo --test-dir build -j ([int]$env:NUMBER_OF_PROCESSORS + 1)
37+ build\src\RelWithDebInfo\bench_ecmult.exe
38+ build\src\RelWithDebInfo\bench_internal.exe
39+ build\src\RelWithDebInfo\bench.exe
You can’t perform that action at this time.
0 commit comments