Skip to content

Commit f812e7a

Browse files
ci: build without codpseed in CI
1 parent b267683 commit f812e7a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,25 @@ jobs:
5656
cd examples/google_benchmark/build-walltime
5757
cmake -DCODSPEED_MODE=walltime ..
5858
make -j
59+
60+
build-no-codspeed:
61+
runs-on: ubuntu-latest
62+
63+
steps:
64+
- name: Checkout code
65+
uses: actions/checkout@v3
66+
67+
- name: Cache build
68+
uses: actions/cache@v3
69+
with:
70+
path: examples/google_benchmark/build-no-codspeed
71+
key: ${{ runner.os }}-build-no-codspeed-${{ hashFiles('**/CMakeLists.txt', '**/examples/google_benchmark/**') }}
72+
73+
- name: Create build directory
74+
run: mkdir -p examples/google_benchmark/build-no-codspeed
75+
76+
- name: Build benchmark example without codspeed
77+
run: |
78+
cd examples/google_benchmark/build-no-codspeed
79+
cmake ..
80+
make -j

0 commit comments

Comments
 (0)