Skip to content

Improve build CI

Improve build CI #410

Workflow file for this run

name: Run CTest
on: [pull_request, push]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
name: ${{ matrix.runs_on }}
strategy:
fail-fast: false
matrix:
include:
- runs-on: ubuntu-latest
- runs-on: mac-12
- runs-on: mac-14
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install system packages
run: |
sudo apt-get update
sudo apt-get install git cmake capnproto zlib1g-dev build-essential pkg-config libzip-dev software-properties-common libbz2-dev python3-opengl
- name: Install pip package and build tests
run: |
cmake .
make -j
make -f tests/Makefile
- name: Run tests
run: ctest --progress --verbose