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:
Valery Antopol 2023-12-14 18:09:44 +04:00 committed by GitHub
parent 211d6fcb56
commit 0e164f32d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 3 deletions

View File

@ -75,7 +75,7 @@ jobs:
- name: Build examples
working-directory: examples
run: build.sh
run: ./build.sh
- name: Run cargo check
run: cargo check -v --all-features

14
Cargo.lock generated
View File

@ -249,6 +249,13 @@ dependencies = [
"windows-targets 0.48.2",
]
[[package]]
name = "consumer"
version = "0.1.0"
dependencies = [
"marine-rs-sdk",
]
[[package]]
name = "core-foundation-sys"
version = "0.8.4"
@ -1604,6 +1611,13 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "producer"
version = "0.1.0"
dependencies = [
"marine-rs-sdk",
]
[[package]]
name = "psm"
version = "0.1.21"

View File

@ -37,4 +37,6 @@ members = [
"examples/build_rs",
"examples/single-service",
"examples/multi-service",
"examples/multi-service/consumer",
"examples/multi-service/producer",
]

View File

@ -0,0 +1,4 @@
#!/bin/sh
(cd producer; ./build.sh)
(cd consumer; ./build.sh)

View File

@ -6,4 +6,4 @@ marine build --release
rm artifacts/* || true
mkdir -p artifacts
cp target/wasm32-wasi/release/consumer.wasm artifacts/
cp ../../../target/wasm32-wasi/release/consumer.wasm artifacts/

View File

@ -6,4 +6,4 @@ marine build --release
rm artifacts/* || true
mkdir -p artifacts
cp target/wasm32-wasi/release/producer.wasm artifacts/
cp ../../../target/wasm32-wasi/release/producer.wasm artifacts/