mirror of
https://github.com/fluencelabs/marine.git
synced 2024-12-12 06:45:32 +00:00
Fix circleci (#23)
This commit is contained in:
parent
ecf9b1b34f
commit
9cdb91c8d3
@ -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
7
.gitignore
vendored
@ -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/*
|
||||
|
@ -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");
|
||||
|
BIN
examples/greeting/artifacts/greeting.wasm
Executable file
BIN
examples/greeting/artifacts/greeting.wasm
Executable file
Binary file not shown.
BIN
examples/records/artifacts/wasm_modules/effector.wasm
Executable file
BIN
examples/records/artifacts/wasm_modules/effector.wasm
Executable file
Binary file not shown.
BIN
examples/records/artifacts/wasm_modules/pure.wasm
Executable file
BIN
examples/records/artifacts/wasm_modules/pure.wasm
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user