bump dependencies, overhaul build action #46
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: Test macOS | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')" | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: 'recursive' | |
# Use system python on mac; 3.9 seems to be available and this way there aren't multiple versions floating around | |
#- uses: actions/setup-python@v2 | |
#name: Install Python | |
#with: | |
#python-version: '3.7' | |
- name: install python packages | |
run: python3 -m pip install numpy | |
- name: configure | |
run: mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. | |
- name: build | |
run: cd build && make | |
- name: run test | |
run: python3 test/robust_laplacian_test.py |