We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e27a80 commit 0b58ba0Copy full SHA for 0b58ba0
.github/workflows/ci.yml
@@ -0,0 +1,33 @@
1
+name: CI
2
+on:
3
+ push:
4
+ branches: [main]
5
+ pull_request:
6
+ workflow_dispatch:
7
+
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v3
15
16
+ - name: Install dependencies
17
+ run: sudo apt-get update && sudo apt-get install -y build-essential cmake
18
19
+ - name: Build google_benchmark instrumentation
20
+ run: |
21
+ cd examples/google_benchmark
22
+ mkdir build -D
23
+ cd build
24
+ cmake -DCODSPEED_MODE=instrumentation ..
25
+ make
26
27
+ - name: Build google_benchmark walltime
28
+ run:
29
30
31
32
+ cmake -DCODSPEED_MODE=walltime ..
33
0 commit comments