Fix circleci (#23)

This commit is contained in:
vms 2020-08-24 14:55:15 +03:00 committed by GitHub
parent ecf9b1b34f
commit 9cdb91c8d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 9 deletions

View File

@ -10,7 +10,7 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- fce01-{{ checksum "engine/Cargo.toml" }}-{{ checksum "fluence-faas/Cargo.toml" }}-{{ checksum "fluence-app-service/Cargo.toml" }} - fce01-{{ checksum "Cargo.lock" }}-{{ checksum "examples/greeting/artifacts/greeting.wasm" }}-{{ checksum "examples/records/artifacts/pure.wasm" }}-{{ checksum "examples/records/artifacts/effector.wasm" }}
- run: | - run: |
rustup toolchain install nightly rustup toolchain install nightly
rustup component add rustfmt rustup component add rustfmt
@ -25,7 +25,7 @@ jobs:
paths: paths:
- ~/.cargo - ~/.cargo
- ~/.rustup - ~/.rustup
key: fce01-{{ checksum "engine/Cargo.toml" }}-{{ checksum "fluence-faas/Cargo.toml" }}-{{ checksum "fluence-app-service/Cargo.toml" }} key: fce01-{{ checksum "Cargo.lock" }}-{{ checksum "examples/greeting/artifacts/greeting.wasm" }}-{{ checksum "examples/records/artifacts/pure.wasm" }}-{{ checksum "examples/records/artifacts/effector.wasm" }}
examples: examples:
docker: docker:

7
.gitignore vendored
View File

@ -16,7 +16,6 @@ target/
/examples/ipfs_node/wasm/artifacts/ipfs_rpc_file /examples/ipfs_node/wasm/artifacts/ipfs_rpc_file
# Allowed Wasm files for examples # Allowed Wasm files for examples
!/examples/greeting/wasm/artifacts/greeting.wasm !/examples/greeting/artifacts/greeting.wasm
!/examples/ipfs_node/wasm/artifacts/ipfs_rpc.wasm !/examples/ipfs_node/artifacts/wasm_modules/*
!/examples/ipfs_node/wasm/artifacts/wasm_modules/* !/examples/records/artifacts/wasm_modules/*
!/examples/records/wasm/artifacts/wasm_modules/*

View File

@ -20,9 +20,8 @@ use fce::IValue;
#[test] #[test]
#[ignore] #[ignore]
pub fn records() { pub fn records() {
let effector_wasm_bytes = let effector_wasm_bytes = std::fs::read("../examples/records/artifacts/wasm_modules/effector")
std::fs::read("../examples/records/artifacts/wasm_modules/effector") .expect("../examples/records/artifacts/wasm_modules/effector.wasm should presence");
.expect("../examples/records/artifacts/wasm_modules/effector.wasm should presence");
let pure_wasm_bytes = std::fs::read("../examples/records/artifacts/wasm_modules/pure") let pure_wasm_bytes = std::fs::read("../examples/records/artifacts/wasm_modules/pure")
.expect("../examples/records/artifacts/wasm_modules/pure.wasm should presence"); .expect("../examples/records/artifacts/wasm_modules/pure.wasm should presence");

Binary file not shown.

Binary file not shown.

Binary file not shown.