Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
run: rustup target add ${{ matrix.target }}
#run: rustup target add ${{ matrix.target }}
run: rustup install 1.80 && rustup default 1.80 && rustup target add ${{ matrix.target }} && rustup component add clippy rustfmt
- if: ${{ matrix.is_musl }}
name: Install musl-tools
run: sudo apt-get install -y musl-tools
Expand Down Expand Up @@ -77,7 +78,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable && rustup default stable && rustup target add ${{ matrix.target }}
# 1.81 causes issues when running the tests
#run: rustup update stable && rustup default stable && rustup target add ${{ matrix.target }}
run: rustup install 1.80 && rustup default 1.80 && rustup target add ${{ matrix.target }} && rustup component add clippy rustfmt
- name: Install cross
# Latest cross release 0.2.5 fails to link binaries for the `aarch64-linux-android` target. A release is pending.
# Use a specific commit until the release is out. See https://github.com/cross-rs/cross/issues/1222
Expand All @@ -103,7 +106,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
run: rustup target add ${{ matrix.target }}
#run: rustup target add ${{ matrix.target }}
run: rustup install 1.80 && rustup default 1.80 && rustup target add ${{ matrix.target }} && rustup component add clippy rustfmt
- name: Check
run: cargo check --workspace --verbose --target=${{ matrix.target }}
- name: Clippy
Expand Down