Skip to content

Update GitHub Actions script to address problem with compiling Catch2… #39

Update GitHub Actions script to address problem with compiling Catch2…

Update GitHub Actions script to address problem with compiling Catch2… #39

Workflow file for this run

# Copyright (c) 2014-2025 Kartik Kumar (me@kartikkumar.com)
# Distributed under the MIT License.
# See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT
# This workflow is based off of the GitHub Actions documentation:
# - https://docs.github.com/en/actions
name: run-all-tests
on: [push]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4.2.2
- name: Build Project
uses: threeal/cmake-action@v2.1.0
with:
cmake-version: '3.23.x'
- name: Build CMake project
run: |
cmake -S . -B build -DBUILD_TESTING=on
cmake --build build
- name: Run tests
run: make -C build test