Skip to content

Commit cb1cdb7

Browse files
authored
Merge pull request #2505 from CosmWasm/co/schema-ci
Add `cw-schema` CI job
2 parents 8ea9da0 + 9659a04 commit cb1cdb7

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.circleci/config.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ workflows:
7070
- package_check
7171
- package_schema
7272
- package_schema_derive
73+
- package_cw_schema
7374
- package_std
7475
- package_vm
7576
- package_vm_derive
@@ -419,6 +420,33 @@ jobs:
419420
- target/debug/deps
420421
key: cargocache-v2-package_schema_derive-rust:1.81-{{ checksum "Cargo.lock" }}
421422

423+
package_cw_schema:
424+
docker:
425+
- image: rust:1.81
426+
steps:
427+
- checkout
428+
- run:
429+
name: Version information
430+
command: rustc --version; cargo --version; rustup --version; rustup target list --installed
431+
- restore_cache:
432+
keys:
433+
- cargocache-v2-package_cw_schema-rust:1.81-{{ checksum "Cargo.lock" }}
434+
- run:
435+
name: Build
436+
working_directory: ~/project/packages/cw-schema
437+
command: cargo build --locked
438+
- run:
439+
name: Run tests
440+
working_directory: ~/project/packages/cw-schema
441+
command: cargo test --locked
442+
- save_cache:
443+
paths:
444+
- /usr/local/cargo/registry
445+
- target/debug/.fingerprint
446+
- target/debug/build
447+
- target/debug/deps
448+
key: cargocache-v2-package_cw_schema-rust:1.81-{{ checksum "Cargo.lock" }}
449+
422450
package_std:
423451
docker:
424452
- image: rust:1.81

0 commit comments

Comments
 (0)