-
Notifications
You must be signed in to change notification settings - Fork 6
44 lines (40 loc) · 1.04 KB
/
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
name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_ubuntu:
if: "!contains(github.event.pull_request.labels.*.name, 'docs-only')"
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9", "3.10", "3.11"]
steps:
- name: update
run: sudo apt-get update
- name: install libegl1
run: sudo apt-get install libegl1
- name: install python3-opengl
run: sudo apt-get install python3-opengl
- uses: compas-dev/compas-actions.build@v4
with:
invoke_lint: true
invoke_test: true
python: ${{ matrix.python }}
build:
if: "!contains(github.event.pull_request.labels.*.name, 'docs-only')"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest]
python: ["3.9", "3.10", "3.11"]
steps:
- uses: compas-dev/compas-actions.build@v4
with:
invoke_lint: true
invoke_test: true
python: ${{ matrix.python }}