Skip to content

Graded climbs

Graded climbs #61

Workflow file for this run

on:
pull_request:
branches:
- main
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Install "Check" (Ubuntu)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt install check
- name: Install "Check" (MacOS)
if: ${{ matrix.os == 'macos-latest' }}
run: brew install check
- uses: actions/checkout@v4
- name: Configure
run: cmake -S . -B build
- name: Build
run: cmake --build build
- name: Run unit tests
run: ctest --output-on-failure --test-dir build