Skip to content

Commit

Permalink
Try not nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
james58899 committed Mar 16, 2024
1 parent 3bb9f10 commit e667633
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ jobs:
- name: Install toolchain
run: |
rustup update
rustup toolchain install nightly
rustup target add --toolchain nightly ${{ matrix.target }}
rustup target add ${{ matrix.target }}
- name: Build
env:
__CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS: "nightly"
CARGO_HOST_LINKER: "clang"
CARGO_HOST_RUSTFLAGS: "-Clink-arg=-fuse-ld=lld"
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS: "-Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld -Clink-arg=--target=x86_64-unknown-linux-gnu"
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS: "-Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld -Clink-arg=--target=aarch64-unknown-linux-gnu"
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_RUSTFLAGS: "-Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld -Clink-arg=--target=armv7-unknown-linux-gnueabihf"
run: cargo +nightly -Ztarget-applies-to-host -Zhost-config build --verbose --release --target=${{ matrix.target }}
run: cargo -Ztarget-applies-to-host -Zhost-config build --verbose --release --target=${{ matrix.target }}
- uses: actions/upload-artifact@v4
with:
name: hath-rust-${{ matrix.target }}
Expand Down

0 comments on commit e667633

Please sign in to comment.