From 8960fbf046f1893b236ba8cde2529b1156df8f8d Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Tue, 25 Feb 2025 10:55:35 +0100 Subject: [PATCH] ci: add targets to moon-repo/setup in binary artifact build --- .github/workflows/release.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c2c4460..6761fec8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,17 +48,18 @@ jobs: matrix: include: - target: x86_64-unknown-linux-musl + runner: ubuntu-24.04 - target: aarch64-unknown-linux-musl - cross: true + runner: codspeedhq-arm64-ubuntu-24.04 - runs-on: ubuntu-latest + runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v4 - - uses: moonrepo/setup-rust@v0 + - uses: moonrepo/setup-rust@v1 with: - bins: cross + targets: ${{ matrix.target }} - - run: ${{ matrix.cross && 'cross' || 'cargo' }} build --locked --release --bin cargo-codspeed --target ${{ matrix.target }} + - run: cargo build --locked --release --bin cargo-codspeed --target ${{ matrix.target }} - name: Upload Release Asset if: github.event_name != 'workflow_dispatch'