Merge pull request #1064 from JohanMabille/rtd #2798
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: benchmark & examples | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt install g++ | |
- name: Setup | |
run: | | |
mkdir _build | |
cd _build && cmake .. -DBUILD_BENCHMARK=ON -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Release | |
- name: Build | |
run: cmake --build _build | |
- name: Testing sequential | |
run: cmake --build _build --target xbenchmark | |