@@ -7,6 +7,7 @@ workflows:
7
7
test :
8
8
# Keep those job names in sync with .mergify.yml
9
9
jobs :
10
+ - arm64
10
11
- package_crypto
11
12
- package_schema
12
13
- package_std
@@ -60,6 +61,68 @@ workflows:
60
61
ignore : /.*/
61
62
62
63
jobs :
64
+ arm64 :
65
+ machine :
66
+ image : ubuntu-2004:202101-01
67
+ resource_class : arm.large
68
+ steps :
69
+ - checkout
70
+ - run :
71
+ name : Install Rust
72
+ command : |
73
+ wget https://static.rust-lang.org/rustup/dist/aarch64-unknown-linux-gnu/rustup-init
74
+ chmod +x rustup-init
75
+ ./rustup-init -y --default-toolchain 1.54.0 --profile minimal
76
+ - run :
77
+ name : Version information
78
+ command : rustc --version; cargo --version; rustup --version; rustup target list --installed
79
+ - run :
80
+ name : Add wasm32 target
81
+ command : rustup target add wasm32-unknown-unknown && rustup target list --installed
82
+ - restore_cache :
83
+ keys :
84
+ - cargocache-v2-arm64-rust:1.54.0-{{ checksum "Cargo.lock" }}
85
+ - run :
86
+ name : " contracts/crypto-verify: integration-test"
87
+ working_directory : ~/project/contracts/crypto-verify
88
+ command : cargo wasm --locked && cargo integration-test --locked
89
+ - run :
90
+ name : " contracts/hackatom: integration-test"
91
+ working_directory : ~/project/contracts/hackatom
92
+ command : cargo wasm --locked && cargo integration-test --locked
93
+ - run :
94
+ name : " contracts/queue: integration-test"
95
+ working_directory : ~/project/contracts/queue
96
+ command : cargo wasm --locked && cargo integration-test --locked
97
+ - run :
98
+ name : " contracts/reflect: integration-test"
99
+ working_directory : ~/project/contracts/reflect
100
+ command : cargo wasm --locked && cargo integration-test --locked
101
+ - run :
102
+ name : " contracts/staking: integration-test"
103
+ working_directory : ~/project/contracts/staking
104
+ command : cargo wasm --locked && cargo integration-test --locked
105
+ - run :
106
+ name : " packages/crypto: test"
107
+ working_directory : ~/project/packages/crypto
108
+ command : cargo test --locked
109
+ - run :
110
+ name : " packages/std: test"
111
+ working_directory : ~/project/packages/std
112
+ command : cargo test --locked
113
+ - run :
114
+ name : " packages/vm: test"
115
+ working_directory : ~/project/packages/vm
116
+ # use all features
117
+ command : cargo test --locked --features iterator,staking,stargate
118
+ - save_cache :
119
+ paths :
120
+ - ~/.cargo/registry
121
+ - target/debug/.fingerprint
122
+ - target/debug/build
123
+ - target/debug/deps
124
+ key : cargocache-v2-arm64-rust:1.54.0-{{ checksum "Cargo.lock" }}
125
+
63
126
package_crypto :
64
127
docker :
65
128
- image : rust:1.54.0
0 commit comments