File tree 1 file changed +12
-11
lines changed 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 7
7
8
8
set -euf -o pipefail
9
9
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
+
10
22
RUST_BACKTRACE=1 cargo build
11
23
12
24
RUST_BACKTRACE=1 cargo build --all-features
@@ -24,15 +36,4 @@ RUST_BACKTRACE=1 cargo build --target x86_64-apple-darwin
24
36
RUST_BACKTRACE=1 cargo build --target aarch64-apple-darwin
25
37
RUST_BACKTRACE=1 cargo build --target x86_64-unknown-freebsd
26
38
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
-
38
39
RUST_BACKTRACE=1 cargo test
You can’t perform that action at this time.
0 commit comments