@@ -6,15 +6,15 @@ OUTPUT_NAME=${1:-./output}
6
6
7
7
# Build and test the solutions
8
8
pushd exercise-solutions
9
- cargo test
10
- cargo test --examples
9
+ cargo test --locked
10
+ cargo test --examples --locked
11
11
cargo fmt --check
12
12
pushd connected-mailbox
13
- cargo test
13
+ cargo test --locked
14
14
cargo fmt --check
15
15
popd
16
16
pushd multi-threaded-mailbox
17
- cargo test
17
+ cargo test --locked
18
18
cargo fmt --check
19
19
popd
20
20
popd
26
26
popd
27
27
pushd nrf52-code
28
28
pushd boards/dk
29
- cargo build --target=thumbv7em-none-eabihf
29
+ cargo build --target=thumbv7em-none-eabihf --locked
30
30
cargo fmt --check
31
31
popd
32
32
pushd boards/dk-solution
33
- cargo build --target=thumbv7em-none-eabihf
33
+ cargo build --target=thumbv7em-none-eabihf --locked
34
34
cargo fmt --check
35
35
popd
36
36
pushd boards/dongle
37
- cargo build --target=thumbv7em-none-eabihf
37
+ cargo build --target=thumbv7em-none-eabihf --locked
38
38
cargo fmt --check
39
39
popd
40
40
pushd radio-app
41
- cargo build --target=thumbv7em-none-eabihf --release
41
+ cargo build --target=thumbv7em-none-eabihf --release --locked
42
42
cargo fmt --check
43
43
popd
44
44
for i in usb-lib-solutions/* ; do
45
45
pushd $i
46
- cargo build --target=thumbv7em-none-eabihf --release
46
+ cargo build --target=thumbv7em-none-eabihf --release --locked
47
47
cargo fmt --check
48
- cargo test
48
+ cargo test --locked
49
49
popd
50
50
done
51
51
pushd usb-lib
52
- cargo build --target=thumbv7em-none-eabihf --release
52
+ cargo build --target=thumbv7em-none-eabihf --release --locked
53
53
cargo fmt --check
54
54
popd
55
55
pushd usb-app
56
- cargo build --target=thumbv7em-none-eabihf --release
56
+ cargo build --target=thumbv7em-none-eabihf --release --locked
57
57
cargo fmt --check
58
58
popd
59
59
pushd usb-app-solutions
60
- cargo build --target=thumbv7em-none-eabihf --release
60
+ cargo build --target=thumbv7em-none-eabihf --release --locked
61
61
cargo fmt --check
62
62
popd
63
63
pushd consts
64
- cargo build
64
+ cargo build --locked
65
65
cargo fmt --check
66
66
popd
67
67
pushd puzzle-fw
68
- cargo build --target=thumbv7em-none-eabihf --release
68
+ cargo build --target=thumbv7em-none-eabihf --release --locked
69
69
cargo fmt --check
70
70
popd
71
71
pushd loopback-fw
72
- cargo build --target=thumbv7em-none-eabihf --release
72
+ cargo build --target=thumbv7em-none-eabihf --release --locked
73
73
cargo fmt --check
74
74
popd
75
75
popd
0 commit comments