We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e27a80 commit 21463feCopy full SHA for 21463fe
.github/workflows/ci.yml
@@ -0,0 +1,36 @@
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 # You can change this to other runners like 'windows-latest' or 'macos-latest'
11
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v3
15
16
+ - name: Set up C++
17
+ uses: actions/setup-cpp@v2
18
+ with:
19
+ compiler: gcc
20
+ version: '14'
21
22
+ - name: Build google_benchmark instrumentation
23
+ run: |
24
+ cd examples/google_benchmark
25
+ mkdir build -D
26
+ cd build
27
+ cmake -DCODSPEED_MODE=instrumentation ..
28
+ make
29
30
+ - name: Build google_benchmark walltime
31
+ run:
32
33
34
35
+ cmake -DCODSPEED_MODE=walltime ..
36
0 commit comments