chore(ci): test FFI on CI using nightly
Now that FFI is opt-in using cargo's --crate-type, nightly needs to be used on CI: this flag is still unstable and requires a nightly to enable -Z unstable options.
This commit is contained in:
committed by
Sean McArthur
parent
1c6637060e
commit
bd591f43fd
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
@@ -157,7 +157,7 @@ jobs:
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
toolchain: nightly
|
||||
override: true
|
||||
|
||||
- name: Install cbindgen
|
||||
@@ -171,8 +171,8 @@ jobs:
|
||||
env:
|
||||
RUSTFLAGS: --cfg hyper_unstable_ffi
|
||||
with:
|
||||
command: build
|
||||
args: --features client,http1,http2,ffi
|
||||
command: rustc
|
||||
args: --features client,http1,http2,ffi -Z unstable-options --crate-type cdylib
|
||||
|
||||
- name: Make Examples
|
||||
run: cd capi/examples && make client
|
||||
|
||||
Reference in New Issue
Block a user