Skip to content

C2Core Tests (Linux) #5

C2Core Tests (Linux)

C2Core Tests (Linux) #5

Workflow file for this run

name: C2Core Tests (Linux)
on: workflow_dispatch
jobs:
test-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y cmake g++ curl make libssl-dev
- name: Configure with CMake
run: cmake -S . -B build -DC2CORE_BUILD_TESTS=ON
- name: Build
run: cmake --build build -j$(nproc)
- name: Run tests
run: ctest --test-dir build --output-on-failure