Skip to content

Commit 8326174

Browse files
committed
Add crypto package to CI build
1 parent 04e5abf commit 8326174

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

.circleci/config.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ workflows:
44
test:
55
# Keep those job names in sync with .mergify.yml
66
jobs:
7+
- package_crypto
78
- package_schema
89
- package_std
910
- package_storage
@@ -23,7 +24,7 @@ workflows:
2324
requires:
2425
- package_vm
2526
- package_vm_cranelift
26-
- package_crypto_verify
27+
- package_crypto
2728
filters:
2829
branches:
2930
only:
@@ -47,6 +48,33 @@ workflows:
4748
ignore: /.*/
4849

4950
jobs:
51+
package_crypto:
52+
docker:
53+
- image: rust:1.47.0
54+
steps:
55+
- checkout
56+
- run:
57+
name: Version information
58+
command: rustc --version; cargo --version; rustup --version; rustup target list --installed
59+
- restore_cache:
60+
keys:
61+
- cargocache-v2-package_crypto-rust:1.47.0-{{ checksum "Cargo.lock" }}
62+
- run:
63+
name: Build
64+
working_directory: ~/project/packages/crypto
65+
command: cargo build --locked
66+
- run:
67+
name: Run tests
68+
working_directory: ~/project/packages/crypto
69+
command: cargo test --locked
70+
- save_cache:
71+
paths:
72+
- /usr/local/cargo/registry
73+
- target/debug/.fingerprint
74+
- target/debug/build
75+
- target/debug/deps
76+
key: cargocache-v2-package_crypto-rust:1.47.0-{{ checksum "Cargo.lock" }}
77+
5078
package_schema:
5179
docker:
5280
- image: rust:1.49.0

0 commit comments

Comments
 (0)