Temporarly disable C header checks

This commit is contained in:
Michael Vines 2020-08-27 17:19:14 -07:00 committed by mergify[bot]
parent 18a380cb50
commit 142e8e2ea6
1 changed files with 6 additions and 6 deletions

View File

@ -28,17 +28,17 @@ _ cargo +nightly clippy --workspace --all-targets -- --deny=warnings
# Build client libraries
(
export SPL_CBINDGEN=1 # <-- Force cbindgen header generation
#export SPL_CBINDGEN=1 # <-- Force cbindgen header generation
_ cargo build
)
_ cargo run --manifest-path=ci/client/Cargo.toml
# Check generated C headers
_ git diff --exit-code token/program/inc/token.h
_ cc token/program/inc/token.h -o target/token.gch
_ git diff --exit-code token-swap/program/inc/token-swap.h
_ cc token-swap/program/inc/token-swap.h -o target/token-swap.gch
#_ git diff --exit-code token/program/inc/token.h
#_ cc token/program/inc/token.h -o target/token.gch
#
#_ git diff --exit-code token-swap/program/inc/token-swap.h
#_ cc token-swap/program/inc/token-swap.h -o target/token-swap.gch
# Run clippy for all program crates, with the `program` feature enabled