Check that we use no C deps on CI

C deps are not a problem for a typical build, but cause issues in more
esoteric scenarios, like cross-compiling. Let's check that we don't
have them.

Setting `CC` to some dummy value should do the trick, as custom build
scripts typically respect this variable.
This commit is contained in:
Aleksey Kladov 2020-02-19 22:22:10 +01:00
parent e00b9ca3c9
commit 5e1d0e4ae4

View file

@ -17,6 +17,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
env:
RUSTFLAGS: -D warnings
CC: deny_c
CARGO_INCREMENTAL: 0
RUN_SLOW_TESTS: 1
RUSTUP_MAX_RETRIES: 10