File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3535 - name : Build tests
3636 run : |
3737 cd core/build-tests
38- cmake .. -DENABLE_TESTS=ON
38+ cmake .. -DENABLE_TESTS=ON -DCODSPEED_STRICT_WARNINGS=ON
3939 make -j
4040
4141 - name : Run tests
7979 - name : Build benchmark example
8080 run : |
8181 cd examples/google_benchmark_cmake/build
82- cmake -DCODSPEED_MODE=${{ matrix.codspeed-mode }} ..
82+ cmake -DCODSPEED_MODE=${{ matrix.codspeed-mode }} -DCODSPEED_STRICT_WARNINGS=ON ..
8383 make -j
8484
8585 - name : Run the benchmarks
@@ -118,14 +118,14 @@ jobs:
118118
119119 - name : Build and run benchmarks
120120 run : |
121- bazel build //examples/google_benchmark_bazel:my_benchmark --//core:codspeed_mode=${{ matrix.codspeed-mode }}
121+ bazel build //examples/google_benchmark_bazel:my_benchmark --//core:codspeed_mode=${{ matrix.codspeed-mode }} --//core:strict_warnings=on
122122
123123 - name : Run the benchmarks
124124 uses : CodSpeedHQ/action@main
125125 if : matrix.codspeed-mode != 'off'
126126 with :
127127 mode : ${{ matrix.codspeed-mode }}
128- run : bazel run //examples/google_benchmark_bazel:my_benchmark --//core:codspeed_mode=${{ matrix.codspeed-mode }}
128+ run : bazel run //examples/google_benchmark_bazel:my_benchmark --//core:codspeed_mode=${{ matrix.codspeed-mode }} --//core:strict_warnings=on
129129 token : ${{ secrets.CODSPEED_TOKEN }}
130130
131131 cmake-build :
@@ -193,4 +193,4 @@ jobs:
193193
194194 - name : Build benchmark example
195195 run : |
196- bazel build //examples/google_benchmark_bazel:my_benchmark --//core:codspeed_mode=${{ matrix.codspeed-mode }}
196+ bazel build //examples/google_benchmark_bazel:my_benchmark --//core:codspeed_mode=${{ matrix.codspeed-mode }} --//core:strict_warnings=on
You can’t perform that action at this time.
0 commit comments