Skip to content

Added CI pipeline

Added CI pipeline #31

Workflow file for this run

---
name: CI Pipeline
on:
push:
branches: [master]
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-13, macos-14, 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
env:
TERM: xterm