Skip to content

Commit cf62ce9

Browse files
committed
Add Intel Mac and Arm Linux to the release build workflow.
1 parent 1d7c8db commit cf62ce9

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Build/publish release binaries (Linux, Mac)
22

33
on:
4-
# push:
4+
push:
5+
pull_request:
6+
branches: [ master ]
57
# # Trigger on version tags: v4.10 etc.
68
# tags:
79
# - 'v*'
@@ -25,9 +27,13 @@ jobs:
2527
matrix:
2628
include:
2729
- os: ubuntu-latest
28-
artifact_name: prism-linux64
30+
artifact_name: prism-linux64-x86
31+
- os: ubuntu-22.04-arm
32+
artifact_name: prism-linux64-arm
2933
- os: macos-latest
30-
artifact_name: prism-macos64
34+
artifact_name: prism-mac64-arm
35+
- os: macos-15-intel
36+
artifact_name: prism-mac64-x86
3137
runs-on: ${{ matrix.os }}
3238

3339
steps:
@@ -58,9 +64,13 @@ jobs:
5864
matrix:
5965
include:
6066
- os: ubuntu-latest
61-
artifact: prism-linux64
67+
artifact_name: prism-linux64-x86
68+
- os: ubuntu-22.04-arm
69+
artifact_name: prism-linux64-arm
6270
- os: macos-latest
63-
artifact: prism-macos64
71+
artifact_name: prism-mac64-arm
72+
- os: macos-15-intel
73+
artifact_name: prism-mac64-x86
6474
runs-on: ${{ matrix.os }}
6575

6676
steps:
@@ -75,6 +85,8 @@ jobs:
7585
shell: bash
7686
working-directory: ./test-dir
7787
run: |
88+
TARBALL=$(find . -name "prism*.tar.gz" | head -n 1)
89+
mv "$TARBALL" .
7890
tar -xzf prism*.tar.gz
7991
rm prism*.tar.gz
8092
cd prism-*

0 commit comments

Comments
 (0)