-
-
Notifications
You must be signed in to change notification settings - Fork 40
39 lines (31 loc) · 917 Bytes
/
test-cpp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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@v5
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