-
Notifications
You must be signed in to change notification settings - Fork 37
34 lines (23 loc) · 914 Bytes
/
macos.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
# This is a build which gets triggered on every commit push, to
# ensure that we get some warnings when we push code that does
# not build on macOS.
name: macOS
on: [push]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
# - name: Exit if not on devel branch
# if: github.ref != 'refs/heads/devel'
# run: exit 1
# - name: remove python 3.12
# run: brew uninstall [email protected]
- name: get dependencies
run: brew install cmake boost pcre gmp [email protected] pkgconfig gtkmm3 adwaita-icon-theme && python3 -m pip install --break-system-packages --user sympy gmpy2 numpy
- name: configure
run: mkdir build && cd build && cmake -DENABLE_MATHEMATICA=OFF -DPython_EXECUTABLE=python3.12 ..
- name: make
run: cd build && make
- name: make test
run: cd build && make test ARGS="-V"