Skip to content

Commit 0494810

Browse files
committed
fix ci
1 parent 56c6dae commit 0494810

File tree

1 file changed

+33
-9
lines changed

1 file changed

+33
-9
lines changed

.circleci/config.yml

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,30 @@ jobs:
3737
environment:
3838
RUST_BACKTRACE: 1
3939
command: cargo unit-test --locked
40+
- save_cache:
41+
paths:
42+
- /usr/local/cargo/registry
43+
- target
44+
key: cargocache-cw721-base-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
45+
46+
contract_cw721_expiration:
47+
docker:
48+
- image: rust:1.65.0
49+
working_directory: ~/project/contracts/cw721-expiration
50+
steps:
51+
- checkout:
52+
path: ~/project
53+
- run:
54+
name: Version information
55+
command: rustc --version; cargo --version; rustup --version
56+
- restore_cache:
57+
keys:
58+
- cargocache-cw721-expiration-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
59+
- run:
60+
name: Unit Tests
61+
environment:
62+
RUST_BACKTRACE: 1
63+
command: cargo unit-test --locked
4064
- run:
4165
name: Build and run schema generator
4266
command: cargo schema --locked
@@ -53,12 +77,12 @@ jobs:
5377
paths:
5478
- /usr/local/cargo/registry
5579
- target
56-
key: cargocache-cw721-base-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
80+
key: cargocache-cw721-expiration-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
5781

58-
contract_cw721_metadata_onchain:
82+
contract_cw721_fixed_price:
5983
docker:
6084
- image: rust:1.65.0
61-
working_directory: ~/project/contracts/cw721-metadata-onchain
85+
working_directory: ~/project/contracts/cw721-fixed-price
6286
steps:
6387
- checkout:
6488
path: ~/project
@@ -67,7 +91,7 @@ jobs:
6791
command: rustc --version; cargo --version; rustup --version
6892
- restore_cache:
6993
keys:
70-
- cargocache-cw721-metadata-onchain-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
94+
- cargocache-cw721-fixed-price-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
7195
- run:
7296
name: Unit Tests
7397
environment:
@@ -89,12 +113,12 @@ jobs:
89113
paths:
90114
- /usr/local/cargo/registry
91115
- target
92-
key: cargocache-cw721-metadata-onchain-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
116+
key: cargocache-cw721-fixed-price-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
93117

94-
contract_cw721_fixed_price:
118+
contract_cw721_receiver_tester:
95119
docker:
96120
- image: rust:1.65.0
97-
working_directory: ~/project/contracts/cw721-fixed-price
121+
working_directory: ~/project/contracts/cw721-receiver-tester
98122
steps:
99123
- checkout:
100124
path: ~/project
@@ -103,7 +127,7 @@ jobs:
103127
command: rustc --version; cargo --version; rustup --version
104128
- restore_cache:
105129
keys:
106-
- cargocache-cw721-fixed-price-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
130+
- cargocache-cw721-receiver-tester-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
107131
- run:
108132
name: Unit Tests
109133
environment:
@@ -125,7 +149,7 @@ jobs:
125149
paths:
126150
- /usr/local/cargo/registry
127151
- target
128-
key: cargocache-cw721-fixed-price-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
152+
key: cargocache-cw721-receiver-tester-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }}
129153

130154
package_cw721:
131155
docker:

0 commit comments

Comments
 (0)