Skip to content

Commit c66f033

Browse files
feat: add aarch64-apple-darwin artifacts to the release
1 parent 1339cb3 commit c66f033

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ permissions:
1010
contents: write
1111

1212
jobs:
13-
build-musl-binaries:
13+
build-binaries:
1414
strategy:
1515
matrix:
1616
include:
1717
- target: x86_64-unknown-linux-musl
1818
runner: ubuntu-24.04
1919
- target: aarch64-unknown-linux-musl
2020
runner: codspeedhq-arm64-ubuntu-24.04
21+
- target: aarch64-apple-darwin
22+
runner: macos-latest
2123

2224
runs-on: ${{ matrix.runner }}
2325
steps:
@@ -30,6 +32,7 @@ jobs:
3032
targets: ${{ matrix.target }}
3133

3234
- name: Install musl tools
35+
if: endsWith(matrix.target, '-linux-musl')
3336
run: sudo apt-get update && sudo apt-get install -y musl-tools
3437

3538
- run: cargo build --locked --release --bin cargo-codspeed --target ${{ matrix.target }}
@@ -42,7 +45,7 @@ jobs:
4245
if-no-files-found: error
4346

4447
publish:
45-
needs: build-musl-binaries
48+
needs: build-binaries
4649
runs-on: ubuntu-latest
4750
steps:
4851
- uses: actions/checkout@v4
@@ -81,6 +84,7 @@ jobs:
8184
target:
8285
- x86_64-unknown-linux-musl
8386
- aarch64-unknown-linux-musl
87+
- aarch64-apple-darwin
8488

8589
runs-on: ubuntu-latest
8690
steps:

0 commit comments

Comments
 (0)