Skip to content

Merge pull request #14 from bugparty/codex/configure-cmake-variable-f… #12

Merge pull request #14 from bugparty/codex/configure-cmake-variable-f…

Merge pull request #14 from bugparty/codex/configure-cmake-variable-f… #12

Workflow file for this run

name: Unit Tests
on:
push:
branches: ["main"]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential cmake
- name: Configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build --config Release
- name: Run tests
run: ctest --test-dir build --output-on-failure