Skip to content

Add codspeed instrumentation support for google benchmark #2

Add codspeed instrumentation support for google benchmark

Add codspeed instrumentation support for google benchmark #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential cmake
- name: Build google_benchmark instrumentation
run: |
cd examples/google_benchmark
mkdir build -D
cd build
cmake -DCODSPEED_MODE=instrumentation ..
make
- name: Build google_benchmark walltime
run:
cd examples/google_benchmark
mkdir build -D
cd build
cmake -DCODSPEED_MODE=walltime ..
make