mirror of
https://github.com/fluencelabs/marine.git
synced 2024-12-12 14:55:32 +00:00
Fix circleci (#23)
This commit is contained in:
parent
ecf9b1b34f
commit
9cdb91c8d3
@ -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
7
.gitignore
vendored
@ -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/*
|
|
||||||
|
@ -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");
|
||||||
|
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