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
- restore_cache:
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: |
rustup toolchain install nightly
rustup component add rustfmt
@ -25,7 +25,7 @@ jobs:
paths:
- ~/.cargo
- ~/.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:
docker:

7
.gitignore vendored
View File

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

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.