Skip to content

Add codspeed instrumentation support for google benchmark #6

Add codspeed instrumentation support for google benchmark

Add codspeed instrumentation support for google benchmark #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
working-directory: ./examples/google_benchmark

Check failure on line 11 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 11, Col: 5): Unexpected value 'working-directory'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential cmake
- run: mkdir build
- name: Build google_benchmark instrumentation
run: cd build && cmake -DCODSPEED_MODE=instrumentation .. && make -j
- name: Build google_benchmark walltime
run: cd build && cmake -DCODSPEED_MODE=walltime .. && make -j