Nightly
This commit is contained in:
1 file changed
+3
-1
@@ -136,6 +136,7 @@ jobs:
|
|||||||
- name: Install rustup
|
- name: Install rustup
|
||||||
run: |
|
run: |
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path --quiet -y
|
curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path --quiet -y
|
||||||
|
rustup toolchain install nightly
|
||||||
echo "${HOME}/.cargo/bin" >> "${GITHUB_PATH}"
|
echo "${HOME}/.cargo/bin" >> "${GITHUB_PATH}"
|
||||||
- name: Install ${{ matrix.arch }} Rust toolchain
|
- name: Install ${{ matrix.arch }} Rust toolchain
|
||||||
run: |
|
run: |
|
||||||
@@ -144,12 +145,13 @@ jobs:
|
|||||||
TARGET: ${{ matrix.target }}
|
TARGET: ${{ matrix.target }}
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
RUSTFLAGS="--cfg tokio_unstable" cargo build --release --all-features --target=${TARGET}
|
cargo +nightly build --verbose --release --all-features --target=${TARGET}
|
||||||
env:
|
env:
|
||||||
# Retarget pkg-config as described in https://www.freedesktop.org/wiki/Software/pkg-config/CrossCompileProposal/
|
# Retarget pkg-config as described in https://www.freedesktop.org/wiki/Software/pkg-config/CrossCompileProposal/
|
||||||
PKG_CONFIG_ALLOW_CROSS: 1
|
PKG_CONFIG_ALLOW_CROSS: 1
|
||||||
PKG_CONFIG_LIBDIR: /usr/lib/${{ matrix.pkgconfig }}/pkgconfig
|
PKG_CONFIG_LIBDIR: /usr/lib/${{ matrix.pkgconfig }}/pkgconfig
|
||||||
TARGET: ${{ matrix.target }}
|
TARGET: ${{ matrix.target }}
|
||||||
|
RUSTFLAGS: "--cfg tokio_unstable"
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: release-${{ matrix.arch }}-bullseye
|
name: release-${{ matrix.arch }}-bullseye
|
||||||
|
|||||||
Reference in new issue
Block a user