tutorial #25
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: build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
defaults: | |
run: | |
shell: powershell | |
jobs: | |
build-packages: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: conda-incubator/[email protected] | |
with: | |
miniconda-version: "latest" | |
activate-environment: igl | |
channels: conda-forge | |
python-version: 3.8 | |
- name: build | |
run: | | |
conda install git cmake">=3.14" boost eigen=3.3 compas --yes | |
pip install -r requirements-dev.txt | |
- name: Lint with flake8 | |
run: | | |
invoke lint | |
- name: Test with pytest | |
run: | | |
invoke test | |
- name: Test build docs | |
run: | | |
invoke docs |