File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 77
88set -euf -o pipefail
99
10+ pushd cryptoki-sys
11+ RUST_BACKTRACE=1 cargo build --features generate-bindings
12+ popd
13+
14+ # check formatting before going through all the builds
15+ if cargo fmt --version; then
16+ cargo fmt --all -- --check
17+ fi
18+ if cargo clippy --version; then
19+ cargo clippy --all-targets -- -D clippy::all -D clippy::cargo
20+ fi
21+
1022RUST_BACKTRACE=1 cargo build
1123
1224RUST_BACKTRACE=1 cargo build --all-features
@@ -24,15 +36,4 @@ RUST_BACKTRACE=1 cargo build --target x86_64-apple-darwin
2436RUST_BACKTRACE=1 cargo build --target aarch64-apple-darwin
2537RUST_BACKTRACE=1 cargo build --target x86_64-unknown-freebsd
2638
27- pushd cryptoki-sys
28- RUST_BACKTRACE=1 cargo build --features generate-bindings
29- popd
30-
31- if cargo fmt --version; then
32- cargo fmt --all -- --check
33- fi
34- if cargo clippy --version; then
35- cargo clippy --all-targets -- -D clippy::all -D clippy::cargo
36- fi
37-
3839RUST_BACKTRACE=1 cargo test
You can’t perform that action at this time.
0 commit comments