Skip to content

Commit

Permalink
feat(cargo-codspeed): add prebuilt aarch64 binary to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Sep 6, 2024
1 parent 8a9f8e1 commit 5ef62a8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
matrix:
include:
- target: x86_64-unknown-linux-gnu
- target: aarch64-unknown-linux-gnu
cross: true

runs-on: ubuntu-latest
steps:
Expand All @@ -52,13 +54,9 @@ jobs:
with:
targets: ${{ matrix.target }}
cache-target: ${{ matrix.target }}/release
bins: cross

# TODO: Reenable when we have a way to build for other targets
# - name: Setup environment for target
# if: ${{ matrix.setup }}
# run: ${{ matrix.setup }}

- run: cargo build --release --features vendored-openssl --bin cargo-codspeed --target ${{ matrix.target }}
- run: ${{ matrix.cross && 'cross' || 'cargo' }} build --locked --release --features vendored-openssl --bin cargo-codspeed --target ${{ matrix.target }}

- name: Upload Release Asset
id: upload-release-asset
Expand Down

0 comments on commit 5ef62a8

Please sign in to comment.