-
Notifications
You must be signed in to change notification settings - Fork 8
49 lines (40 loc) · 916 Bytes
/
build.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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