Skip to content

Commit 6d6a835

Browse files
committed
Added ARM build for MacOSX, added more artifacts
1 parent c44e5f1 commit 6d6a835

File tree

1 file changed

+31
-12
lines changed

1 file changed

+31
-12
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
platform: [x64]
1212
depsrc: [none, contrib, system]
1313
cc: [gcc, clang]
14-
timeout-minutes: 30
14+
timeout-minutes: 15
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4
@@ -41,8 +41,8 @@ jobs:
4141
strategy:
4242
matrix:
4343
config: [debug, release]
44-
platform: [x64]
45-
timeout-minutes: 30
44+
platform: [x64, ARM64]
45+
timeout-minutes: 15
4646
steps:
4747
- name: Checkout
4848
uses: actions/checkout@v4
@@ -65,7 +65,7 @@ jobs:
6565
config: [debug, release]
6666
platform: [Win32, x64]
6767
msdev: [vs2022]
68-
timeout-minutes: 30
68+
timeout-minutes: 15
6969
steps:
7070
- name: Checkout
7171
uses: actions/checkout@v4
@@ -100,7 +100,7 @@ jobs:
100100
msystem: mingw32
101101
- platform: x64
102102
msystem: mingw64
103-
timeout-minutes: 30
103+
timeout-minutes: 15
104104
defaults:
105105
run:
106106
shell: msys2 {0}
@@ -142,7 +142,8 @@ jobs:
142142
strategy:
143143
matrix:
144144
config: [debug, release]
145-
timeout-minutes: 30
145+
platform: [x64]
146+
timeout-minutes: 15
146147
steps:
147148
- name: Checkout
148149
uses: actions/checkout@v4
@@ -168,7 +169,7 @@ jobs:
168169
config: [debug, release]
169170
platform: [x64]
170171
cc: [gcc, clang]
171-
timeout-minutes: 30
172+
timeout-minutes: 15
172173
defaults:
173174
run:
174175
shell: freebsd {0}
@@ -207,7 +208,7 @@ jobs:
207208
config: [debug, release]
208209
platform: [x64]
209210
cc: [clang]
210-
timeout-minutes: 30
211+
timeout-minutes: 15
211212
defaults:
212213
run:
213214
shell: openbsd {0}
@@ -246,7 +247,7 @@ jobs:
246247
config: [debug, release]
247248
platform: [x64]
248249
cc: [gcc]
249-
timeout-minutes: 30
250+
timeout-minutes: 15
250251
defaults:
251252
run:
252253
shell: netbsd {0}
@@ -256,6 +257,8 @@ jobs:
256257
- name: Start NetBSD VM
257258
uses: vmactions/netbsd-vm@v1
258259
with:
260+
usesh: true
261+
sync: sshfs
259262
prepare: |
260263
pkg_add gmake
261264
- name: Build
@@ -270,14 +273,20 @@ jobs:
270273
run: |
271274
cd $GITHUB_WORKSPACE
272275
bin/${{ matrix.config }}/premake5 docs-check
276+
- name: Upload Artifacts
277+
if: matrix.config == 'release'
278+
uses: actions/upload-artifact@v4
279+
with:
280+
name: premake-netbsd-${{ matrix.platform }}
281+
path: bin/${{ matrix.config }}/
273282
dragonflybsd:
274283
runs-on: ubuntu-latest
275284
strategy:
276285
matrix:
277286
config: [debug, release]
278287
platform: [x64]
279288
cc: [gcc]
280-
timeout-minutes: 30
289+
timeout-minutes: 15
281290
defaults:
282291
run:
283292
shell: dragonflybsd {0}
@@ -287,6 +296,8 @@ jobs:
287296
- name: Start DragonflyBSD VM
288297
uses: vmactions/dragonflybsd-vm@v1
289298
with:
299+
usesh: true
300+
sync: sshfs
290301
prepare: |
291302
pkg install -y gmake
292303
- name: Build
@@ -301,14 +312,20 @@ jobs:
301312
run: |
302313
cd $GITHUB_WORKSPACE
303314
bin/${{ matrix.config }}/premake5 docs-check
315+
- name: Upload Artifacts
316+
if: matrix.config == 'release' && matrix.cc == 'gcc'
317+
uses: actions/upload-artifact@v4
318+
with:
319+
name: premake-dragonflybsd-${{ matrix.platform }}
320+
path: bin/${{ matrix.config }}/
304321
solaris:
305322
runs-on: ubuntu-latest
306323
strategy:
307324
matrix:
308325
config: [debug, release]
309326
platform: [x64]
310327
cc: [gcc]
311-
timeout-minutes: 30
328+
timeout-minutes: 15
312329
defaults:
313330
run:
314331
shell: solaris {0}
@@ -319,6 +336,7 @@ jobs:
319336
uses: vmactions/solaris-vm@v1
320337
with:
321338
usesh: true
339+
sync: sshfs
322340
cpu: 4
323341
mem: 8192
324342
release: 11.4-gcc
@@ -347,7 +365,7 @@ jobs:
347365
config: [debug, release]
348366
platform: [x64]
349367
cc: [gcc]
350-
timeout-minutes: 30
368+
timeout-minutes: 15
351369
defaults:
352370
run:
353371
shell: omnios {0}
@@ -358,6 +376,7 @@ jobs:
358376
uses: vmactions/omnios-vm@v1
359377
with:
360378
usesh: true
379+
sync: sshfs
361380
prepare: |
362381
pkg install build-essential web/ca-bundle
363382
- name: Build

0 commit comments

Comments
 (0)