mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2024-12-04 23:30:18 +00:00
chore(examples, ci): fix examples build (#101)
* update fluence-app-service to 0.29.0 * Try fix the CI examples build * fix example build
This commit is contained in:
parent
211d6fcb56
commit
0e164f32d2
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -75,7 +75,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build examples
|
- name: Build examples
|
||||||
working-directory: examples
|
working-directory: examples
|
||||||
run: build.sh
|
run: ./build.sh
|
||||||
|
|
||||||
- name: Run cargo check
|
- name: Run cargo check
|
||||||
run: cargo check -v --all-features
|
run: cargo check -v --all-features
|
||||||
|
14
Cargo.lock
generated
14
Cargo.lock
generated
@ -249,6 +249,13 @@ dependencies = [
|
|||||||
"windows-targets 0.48.2",
|
"windows-targets 0.48.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "consumer"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"marine-rs-sdk",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "core-foundation-sys"
|
name = "core-foundation-sys"
|
||||||
version = "0.8.4"
|
version = "0.8.4"
|
||||||
@ -1604,6 +1611,13 @@ dependencies = [
|
|||||||
"unicode-ident",
|
"unicode-ident",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "producer"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"marine-rs-sdk",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "psm"
|
name = "psm"
|
||||||
version = "0.1.21"
|
version = "0.1.21"
|
||||||
|
@ -37,4 +37,6 @@ members = [
|
|||||||
"examples/build_rs",
|
"examples/build_rs",
|
||||||
"examples/single-service",
|
"examples/single-service",
|
||||||
"examples/multi-service",
|
"examples/multi-service",
|
||||||
|
"examples/multi-service/consumer",
|
||||||
|
"examples/multi-service/producer",
|
||||||
]
|
]
|
||||||
|
4
examples/multi-service/build.sh
Executable file
4
examples/multi-service/build.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
(cd producer; ./build.sh)
|
||||||
|
(cd consumer; ./build.sh)
|
@ -6,4 +6,4 @@ marine build --release
|
|||||||
rm artifacts/* || true
|
rm artifacts/* || true
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
|
|
||||||
cp target/wasm32-wasi/release/consumer.wasm artifacts/
|
cp ../../../target/wasm32-wasi/release/consumer.wasm artifacts/
|
||||||
|
@ -6,4 +6,4 @@ marine build --release
|
|||||||
rm artifacts/* || true
|
rm artifacts/* || true
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
|
|
||||||
cp target/wasm32-wasi/release/producer.wasm artifacts/
|
cp ../../../target/wasm32-wasi/release/producer.wasm artifacts/
|
||||||
|
Loading…
Reference in New Issue
Block a user