Skip to content

Added CI pipeline

Added CI pipeline #22

Workflow file for this run

---
name: CI Pipeline
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
compiler_suite: [clang, gcc]
steps:
- uses: actions/checkout@v4
- name: Run tests
run: |
if [ "${{ matrix.compiler_suite }}" = 'clang' ]; then
make CC=clang CXX=clang++ FAIL_FAST=yes PARALLELISM=4
elif [ "${{ matrix.compiler_suite }}" = 'gcc' ]; then
make CC=gcc CXX=g++ FAIL_FAST=yes PARALLELISM=4
fi