Skip to content

Commit 46099c4

Browse files
committed
deal with ubuntu on release
1 parent cf3a139 commit 46099c4

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,28 @@ on:
66
- 'v*'
77

88
jobs:
9+
build_ubuntu:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
python: [ '3.9', '3.11']
14+
steps:
15+
- name: install libegl1
16+
run: sudo apt-get install libegl1
17+
- name: install python3-opengl
18+
run: sudo apt-get install python3-opengl
19+
- uses: compas-dev/compas-actions.build@v3
20+
with:
21+
python: ${{ matrix.python }}
22+
invoke_lint: true
23+
invoke_test: true
24+
925
build:
1026
runs-on: ${{ matrix.os }}
1127
strategy:
1228
matrix:
13-
os: [ubuntu-latest, macos-latest, windows-latest]
14-
python: ['3.8', '3.9', '3.10']
29+
os: [macos-latest, windows-latest]
30+
python: [ '3.9', '3.11']
1531

1632
steps:
1733
- uses: compas-dev/compas-actions.build@v3
@@ -21,7 +37,7 @@ jobs:
2137
invoke_test: true
2238

2339
Publish:
24-
needs: build
40+
needs: [build, build_ubuntu]
2541
runs-on: ubuntu-latest
2642
steps:
2743
- uses: compas-dev/compas-actions.publish@v2

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
compas >= 2.0.0b2
1+
compas >= 2.0.0
22
freetype-py
33
PyOpenGL
44
PyOpenGL_accelerate

0 commit comments

Comments
 (0)