Skip to content

Build opensuse package only on release. #551

Build opensuse package only on release.

Build opensuse package only on release. #551

Workflow file for this run

# 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 ninja 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 -G Ninja -DENABLE_MATHEMATICA=OFF -DPython_EXECUTABLE=python3.12 ..
- name: build
run: cd build && cmake --build .
- name: test
run: cd build && ctest ARGS="-V"