|
50 | 50 | make -j |
51 | 51 |
|
52 | 52 | - name: Run tests |
53 | | - run: | |
| 53 | + run: | |
54 | 54 | cd core/build-tests |
55 | 55 | GTEST_OUTPUT=json:test-results/ ctest |
56 | 56 |
|
@@ -133,7 +133,7 @@ jobs: |
133 | 133 | - name: Build benchmark example |
134 | 134 | run: | |
135 | 135 | bazel build //examples/google_benchmark_bazel:my_benchmark --@codspeed_core//:codspeed_mode=${{ matrix.codspeed-mode }} --@codspeed_core//:strict_warnings=on |
136 | | - |
| 136 | +
|
137 | 137 | - name: Run the benchmarks |
138 | 138 | uses: CodSpeedHQ/action@main |
139 | 139 | if: matrix.codspeed-mode != 'off' |
@@ -207,3 +207,51 @@ jobs: |
207 | 207 | - name: Build benchmark example |
208 | 208 | run: | |
209 | 209 | bazel build //examples/google_benchmark_bazel:my_benchmark --@codspeed_core//:codspeed_mode=${{ matrix.codspeed-mode }} --@codspeed_core//:strict_warnings=on |
| 210 | +
|
| 211 | + macos-walltime-cmake-test: |
| 212 | + runs-on: macos-latest |
| 213 | + steps: |
| 214 | + - uses: actions/checkout@v4 |
| 215 | + with: |
| 216 | + submodules: "recursive" |
| 217 | + |
| 218 | + - name: Build benchmark example |
| 219 | + run: | |
| 220 | + mkdir -p examples/google_benchmark_cmake/build |
| 221 | + cd examples/google_benchmark_cmake/build |
| 222 | + cmake -DCODSPEED_MODE=walltime .. |
| 223 | + make -j |
| 224 | +
|
| 225 | + - name: Run the benchmarks |
| 226 | + uses: CodSpeedHQ/action@main |
| 227 | + env: |
| 228 | + CODSPEED_SKIP_UPLOAD: "true" |
| 229 | + with: |
| 230 | + run: examples/google_benchmark_cmake/build/benchmark_example |
| 231 | + mode: walltime |
| 232 | + |
| 233 | + macos-walltime-bazel-test: |
| 234 | + runs-on: macos-latest |
| 235 | + steps: |
| 236 | + - uses: actions/checkout@v4 |
| 237 | + with: |
| 238 | + submodules: "recursive" |
| 239 | + |
| 240 | + - name: Set up Bazel |
| 241 | + uses: bazel-contrib/setup-bazel@0.14.0 |
| 242 | + with: |
| 243 | + bazelisk-cache: true |
| 244 | + disk-cache: ${{ github.workflow }} |
| 245 | + repository-cache: true |
| 246 | + |
| 247 | + - name: Build benchmark example |
| 248 | + run: | |
| 249 | + bazel build //examples/google_benchmark_bazel:my_benchmark --@codspeed_core//:codspeed_mode=walltime --@codspeed_core//:strict_warnings=on |
| 250 | +
|
| 251 | + - name: Run the benchmarks |
| 252 | + uses: CodSpeedHQ/action@main |
| 253 | + env: |
| 254 | + CODSPEED_SKIP_UPLOAD: "true" |
| 255 | + with: |
| 256 | + run: bazel run //examples/google_benchmark_bazel:my_benchmark --@codspeed_core//:codspeed_mode=walltime --@codspeed_core//:strict_warnings=on |
| 257 | + mode: walltime |
0 commit comments