Skip to content

Separate build, test, benchmark, and document workflows #1

Separate build, test, benchmark, and document workflows

Separate build, test, benchmark, and document workflows #1

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install -y cmake g++ libgtest-dev
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build ${{github.workspace}}/build --config Release
- name: Run tests
working-directory: ${{github.workspace}}/build
run: ctest --output-on-failure