Skip to content

Commit 8eec6e4

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

File tree

1 file changed

+35
-12
lines changed

1 file changed

+35
-12
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 35 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,9 @@ jobs:
256257
- name: Start NetBSD VM
257258
uses: vmactions/netbsd-vm@v1
258259
with:
260+
usesh: true
261+
sync: rsync
262+
copyback: true
259263
prepare: |
260264
pkg_add gmake
261265
- name: Build
@@ -270,14 +274,20 @@ jobs:
270274
run: |
271275
cd $GITHUB_WORKSPACE
272276
bin/${{ matrix.config }}/premake5 docs-check
277+
- name: Upload Artifacts
278+
if: matrix.config == 'release'
279+
uses: actions/upload-artifact@v4
280+
with:
281+
name: premake-netbsd-${{ matrix.platform }}
282+
path: bin/${{ matrix.config }}/
273283
dragonflybsd:
274284
runs-on: ubuntu-latest
275285
strategy:
276286
matrix:
277287
config: [debug, release]
278288
platform: [x64]
279289
cc: [gcc]
280-
timeout-minutes: 30
290+
timeout-minutes: 15
281291
defaults:
282292
run:
283293
shell: dragonflybsd {0}
@@ -287,6 +297,9 @@ jobs:
287297
- name: Start DragonflyBSD VM
288298
uses: vmactions/dragonflybsd-vm@v1
289299
with:
300+
usesh: true
301+
sync: rsync
302+
copyback: true
290303
prepare: |
291304
pkg install -y gmake
292305
- name: Build
@@ -301,14 +314,20 @@ jobs:
301314
run: |
302315
cd $GITHUB_WORKSPACE
303316
bin/${{ matrix.config }}/premake5 docs-check
317+
- name: Upload Artifacts
318+
if: matrix.config == 'release' && matrix.cc == 'gcc'
319+
uses: actions/upload-artifact@v4
320+
with:
321+
name: premake-dragonflybsd-${{ matrix.platform }}
322+
path: bin/${{ matrix.config }}/
304323
solaris:
305324
runs-on: ubuntu-latest
306325
strategy:
307326
matrix:
308327
config: [debug, release]
309328
platform: [x64]
310329
cc: [gcc]
311-
timeout-minutes: 30
330+
timeout-minutes: 15
312331
defaults:
313332
run:
314333
shell: solaris {0}
@@ -319,6 +338,8 @@ jobs:
319338
uses: vmactions/solaris-vm@v1
320339
with:
321340
usesh: true
341+
sync: rsync
342+
copyback: true
322343
cpu: 4
323344
mem: 8192
324345
release: 11.4-gcc
@@ -347,7 +368,7 @@ jobs:
347368
config: [debug, release]
348369
platform: [x64]
349370
cc: [gcc]
350-
timeout-minutes: 30
371+
timeout-minutes: 15
351372
defaults:
352373
run:
353374
shell: omnios {0}
@@ -358,6 +379,8 @@ jobs:
358379
uses: vmactions/omnios-vm@v1
359380
with:
360381
usesh: true
382+
sync: rsync
383+
copyback: true
361384
prepare: |
362385
pkg install build-essential web/ca-bundle
363386
- name: Build

0 commit comments

Comments
 (0)