Skip to content

CPP-AP: version 1.2 #161

CPP-AP: version 1.2

CPP-AP: version 1.2 #161

Workflow file for this run

name: clang++
on:
push:
branches:
- '*'
paths:
- .github/workflows/clang.yaml
- include/**
- tests/**
- CMakeLists.txt
jobs:
build:
name: Build and run tests
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare
env:
CC: clang-17
CXX: clang++-17
run: |
cmake -B build -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC
continue-on-error: false
- name: Build test executable
run: |
cd build && make -j 4
continue-on-error: false
- name: Run tests
run: |
./build/tests/run
continue-on-error: false