Add logic to automatically build and upload docker images which conta… #342
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: get dependencies | |
run: brew install cmake boost pcre gmp python3 pkgconfig gtkmm3 adwaita-icon-theme && python3 -m pip install sympy gmpy2 numpy | |
- name: configure | |
run: mkdir build && cd build && cmake -DENABLE_MATHEMATICA=OFF .. | |
- name: make | |
run: cd build && make | |
- name: make test | |
run: cd build && make test ARGS="-V" |