From 929dac374bcb84a5477e034f79ecd09f556187bd Mon Sep 17 00:00:00 2001 From: QuantumEntangledAndy Date: Wed, 3 May 2023 15:21:49 +0700 Subject: [PATCH] Nightly --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30a68ff..25e3a9c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -136,6 +136,7 @@ jobs: - name: Install rustup run: | curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path --quiet -y + rustup toolchain install nightly echo "${HOME}/.cargo/bin" >> "${GITHUB_PATH}" - name: Install ${{ matrix.arch }} Rust toolchain run: | @@ -144,12 +145,13 @@ jobs: TARGET: ${{ matrix.target }} - name: Build run: | - RUSTFLAGS="--cfg tokio_unstable" cargo build --release --all-features --target=${TARGET} + cargo +nightly build --verbose --release --all-features --target=${TARGET} env: # Retarget pkg-config as described in https://www.freedesktop.org/wiki/Software/pkg-config/CrossCompileProposal/ PKG_CONFIG_ALLOW_CROSS: 1 PKG_CONFIG_LIBDIR: /usr/lib/${{ matrix.pkgconfig }}/pkgconfig TARGET: ${{ matrix.target }} + RUSTFLAGS: "--cfg tokio_unstable" - uses: actions/upload-artifact@v3 with: name: release-${{ matrix.arch }}-bullseye