Skip to content

Commit

Permalink
ci: explicitly install target rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
kanru committed Mar 6, 2025
1 parent 33c4144 commit f15b45a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ jobs:
- name: Setup rustup
run: |
rustup set auto-self-update disable
rustup install ${{ env.RUST_VERSION }}
rustup default ${{ env.RUST_VERSION }}
rustup update
- name: Build
run: |
Expand All @@ -68,9 +69,10 @@ jobs:
- uses: actions/checkout@v4
- name: Setup rustup
run: |
rustup set auto-self-update disable
rustup install ${{ env.RUST_VERSION }}
rustup default ${{ env.RUST_VERSION }}
rustup target add aarch64-unknown-linux-gnu
rustup update
- name: Build
run: |
Expand All @@ -96,6 +98,7 @@ jobs:
run: |
rustup-init -y
source "$HOME/.cargo/env"
rustup set auto-self-update disable
rustup component add llvm-tools
- name: Setup grcov
Expand Down

0 comments on commit f15b45a

Please sign in to comment.