Skip to content

Commit

Permalink
chore(ci): test FFI on CI using nightly
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lqd authored and seanmonstar committed Mar 3, 2022
1 parent 1c66370 commit bd591f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Expand Up @@ -157,7 +157,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: nightly
override: true

- name: Install cbindgen
Expand All @@ -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
Expand Down

0 comments on commit bd591f4

Please sign in to comment.