From 5ef62a82373f56c392356d403e40f4282fd328eb Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Fri, 6 Sep 2024 22:57:43 +0200 Subject: [PATCH] feat(cargo-codspeed): add prebuilt aarch64 binary to releases --- .github/workflows/release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bb651c54..a956eb15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: @@ -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