Skip to content

Update publish workflow #46

Update publish workflow

Update publish workflow #46

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake ninja-build catch2
- name: Configure CMake
run: cmake -B build -S . -DREELAY_BUILD_TESTS=ON
- name: Build
run: cmake --build build
- name: Run unit tests
run: ctest --test-dir build --output-on-failure