GHA: build hyper with nightly rustc

Closes #8545
This commit is contained in:
Daniel Stenberg 2022-03-05 23:17:56 +01:00
parent 64db5c575d
commit 2207066446
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -32,8 +32,11 @@ jobs:
git clone --depth=1 https://github.com/hyperium/hyper.git;
curl https://sh.rustup.rs -sSf | sh -s -- -y;
source $HOME/.cargo/env;
cd $HOME/hyper;
RUSTFLAGS="--cfg hyper_unstable_ffi" cargo build --features client,http1,http2,ffi)
rustup toolchain install nightly;)
name: install rust
- run: (cd $HOME/hyper;
RUSTFLAGS="--cfg hyper_unstable_ffi" cargo +nightly rustc --features client,http1,http2,ffi -Z unstable-options --crate-type cdylib)
name: 'install hyper'
- uses: actions/checkout@v2