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