Skip to content

Commit 5ef62a8

Browse files
committed
feat(cargo-codspeed): add prebuilt aarch64 binary to releases
1 parent 8a9f8e1 commit 5ef62a8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
matrix:
4545
include:
4646
- target: x86_64-unknown-linux-gnu
47+
- target: aarch64-unknown-linux-gnu
48+
cross: true
4749

4850
runs-on: ubuntu-latest
4951
steps:
@@ -52,13 +54,9 @@ jobs:
5254
with:
5355
targets: ${{ matrix.target }}
5456
cache-target: ${{ matrix.target }}/release
57+
bins: cross
5558

56-
# TODO: Reenable when we have a way to build for other targets
57-
# - name: Setup environment for target
58-
# if: ${{ matrix.setup }}
59-
# run: ${{ matrix.setup }}
60-
61-
- run: cargo build --release --features vendored-openssl --bin cargo-codspeed --target ${{ matrix.target }}
59+
- run: ${{ matrix.cross && 'cross' || 'cargo' }} build --locked --release --features vendored-openssl --bin cargo-codspeed --target ${{ matrix.target }}
6260

6361
- name: Upload Release Asset
6462
id: upload-release-asset

0 commit comments

Comments
 (0)