Skip to content

Commit

Permalink
CI: try dtolnay/rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
ahihi committed Aug 2, 2024
1 parent 86000d8 commit 69191c6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
CARGO_BUILD_TARGET: ${{ matrix.target }}
CARGO_TERM_COLOR: always
MACOSX_DEPLOYMENT_TARGET: 10.12
RUSTFLAGS:

steps:
- name: checkout
Expand All @@ -77,7 +78,7 @@ jobs:
with:
packages: qemu-user gcc-aarch64-linux-gnu libc6:arm64
version: 1.0

- name: cache musl development files
if: endsWith(matrix.target, '-musl')
uses: awalsh128/cache-apt-pkgs-action@latest
Expand All @@ -93,10 +94,10 @@ jobs:
version: 1.0

- name: setup rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
uses: dtolnay/rust-toolchain@v1
with:
target: ${{ matrix.target }}
rustflags:
toolchain: stable
targets: ${{ matrix.CARGO_BUILD_TARGET }}

- name: build
run: cargo build --verbose
Expand Down

0 comments on commit 69191c6

Please sign in to comment.