File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 4040 name : test_results
4141 path : ${{runner.workspace}}/core/build-tests/test/test-results/**/*.json
4242
43+ windows-build :
44+ strategy :
45+ matrix :
46+ codspeed-mode : ["off", "walltime"]
47+ runs-on : windows-latest
48+ steps :
49+ - name : Checkout code
50+ uses : actions/checkout@v3
51+
52+ - name : Cache build
53+ uses : actions/cache@v3
54+ with :
55+ path : examples/google_benchmark_cmake/build
56+ key : ${{ runner.os }}-build-${{ matrix.codspeed-mode }}-${{ hashFiles('**/CMakeLists.txt') }}
57+
58+ - name : Create build directory
59+ run : |
60+ if (-not (Test-Path examples\google_benchmark_cmake\build)) {
61+ mkdir examples\google_benchmark_cmake\build
62+ }
63+ shell : pwsh
64+
65+ - name : Build benchmark example
66+ run : |
67+ cd examples\google_benchmark_cmake\build
68+ cmake -DCODSPEED_MODE=${{ matrix.codspeed-mode }} ..
69+ cmake --build . --config Release
70+ shell : pwsh
71+
4372 cmake-integration-tests :
4473 strategy :
4574 matrix :
You can’t perform that action at this time.
0 commit comments