Skip to content

Commit 8960fbf

Browse files
ci: add targets to moon-repo/setup in binary artifact build
1 parent 795aa74 commit 8960fbf

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,18 @@ jobs:
4848
matrix:
4949
include:
5050
- target: x86_64-unknown-linux-musl
51+
runner: ubuntu-24.04
5152
- target: aarch64-unknown-linux-musl
52-
cross: true
53+
runner: codspeedhq-arm64-ubuntu-24.04
5354

54-
runs-on: ubuntu-latest
55+
runs-on: ${{ matrix.runner }}
5556
steps:
5657
- uses: actions/checkout@v4
57-
- uses: moonrepo/setup-rust@v0
58+
- uses: moonrepo/setup-rust@v1
5859
with:
59-
bins: cross
60+
targets: ${{ matrix.target }}
6061

61-
- run: ${{ matrix.cross && 'cross' || 'cargo' }} build --locked --release --bin cargo-codspeed --target ${{ matrix.target }}
62+
- run: cargo build --locked --release --bin cargo-codspeed --target ${{ matrix.target }}
6263

6364
- name: Upload Release Asset
6465
if: github.event_name != 'workflow_dispatch'

0 commit comments

Comments
 (0)