File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+ on : [push, pull_request]
3+
4+ jobs :
5+ checks :
6+ name : Checks
7+ runs-on : macos-10.15
8+ steps :
9+ - uses : actions/checkout@v2
10+ - run : rustup update stable
11+ - run : rustup component add rustfmt clippy
12+ - run : cargo fmt --all -- --check --files-with-diff
13+ - run : cargo clippy --all-targets --all-features -- -D warnings
14+ - run : cargo test --all-targets --all-features
15+ - run : cargo check
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ fn main() {
99 . header ( "wrapper.h" )
1010 . clang_arg ( format ! ( "-F{}/System/Library/Frameworks" , show_sdk_path( ) ) ) // -F<directory> Add framework to the search path
1111 . allowlist_function ( "hv_.*" )
12+ . layout_tests ( false )
1213 . generate ( )
1314 . expect ( "Failed to generate bindings" )
1415 . write_to_file ( out_path. join ( "bindings.rs" ) )
You can’t perform that action at this time.
0 commit comments