Skip to content

Commit aeadd92

Browse files
committed
update create and test release workflow
1 parent 1ba25c2 commit aeadd92

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.github/workflows/CreateAndTestRelease.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
matrix:
3535
pyversion: ['3.9', '3.10', '3.11', '3.12', '3.13']
36-
os: ['ubuntu-22.04', 'macos-13', 'macos-latest', 'windows-latest']
36+
os: ['ubuntu-22.04', 'ubuntu-22.04-arm', 'macos-13', 'macos-latest', 'windows-latest']
3737
exclude:
3838
- os: macos-latest
3939
pyversion: '3.9'
@@ -65,11 +65,15 @@ jobs:
6565
p12-file-base64: ${{ secrets.MACOS_CERTIFICATE }}
6666
p12-password: ${{ secrets.MACOS_CERTIFICATE_PSSW }}
6767
- name: Install Qt
68-
if: matrix.os != 'macos-latest'
68+
if: ${{ matrix.os != 'macos-latest' && matrix.os != 'ubuntu-22.04-arm' }}
6969
uses: jurplel/install-qt-action@v3
7070
with:
7171
cache: true
7272
version: ${{ env.QT_VERSION }}
73+
- name: Install apt qt
74+
if: matrix.os == 'ubuntu-22.04-arm'
75+
run: |
76+
sudo apt-get install qtbase5-dev qt5-qmake
7377
- name: Install Python ${{ matrix.pyversion }}
7478
uses: actions/setup-python@v5
7579
with:
@@ -111,7 +115,7 @@ jobs:
111115
strategy:
112116
matrix:
113117
pyversion: ['3.9', '3.10', '3.11', '3.12', '3.13']
114-
os: ['ubuntu-22.04', 'macos-13', 'macos-latest', 'windows-latest']
118+
os: ['ubuntu-22.04', 'ubuntu-22.04-arm', 'macos-13', 'macos-latest', 'windows-latest']
115119
exclude:
116120
- os: macos-latest
117121
pyversion: '3.9'
@@ -152,7 +156,7 @@ jobs:
152156
strategy:
153157
matrix:
154158
pyversion: ['3.9', '3.10', '3.11', '3.12', '3.13']
155-
os: ['ubuntu-latest', 'macos-13', 'macos-latest', 'windows-latest']
159+
os: ['ubuntu-latest', 'ubuntu-22.04-arm', 'macos-13', 'macos-latest', 'windows-latest']
156160
exclude:
157161
- os: macos-latest
158162
pyversion: '3.9'
@@ -175,6 +179,10 @@ jobs:
175179
- name: Install dependencies
176180
run: |
177181
pip install pytest numpy
182+
- name: Install linux dependencies
183+
if: runner.os == 'Linux'
184+
run: |
185+
sudo apt-get install libopengl0
178186
- name: Set CPU opengl
179187
if: runner.os == 'Windows'
180188
run: |
@@ -195,7 +203,7 @@ jobs:
195203
strategy:
196204
matrix:
197205
pyversion: ['3.9', '3.10', '3.11', '3.12', '3.13']
198-
os: ['ubuntu-latest', 'macos-13', 'macos-latest', 'windows-latest']
206+
os: ['ubuntu-latest', 'ubuntu-22.04-arm', 'macos-13', 'macos-latest', 'windows-latest']
199207
exclude:
200208
- os: macos-latest
201209
pyversion: '3.9'
@@ -220,6 +228,10 @@ jobs:
220228
run: |
221229
pip install pytest numpy
222230
pip install pymeshlab*.whl
231+
- name: Install linux dependencies
232+
if: runner.os == 'Linux'
233+
run: |
234+
sudo apt-get install libopengl0
223235
- name: Set CPU opengl
224236
if: runner.os == 'Windows'
225237
run: |

0 commit comments

Comments
 (0)