From b0ce7fb5fe1eda408ef40340ac86118f338ececd Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Wed, 11 Sep 2024 22:03:21 +0200 Subject: ci: fix github action Signed-off-by: Henry Gressmann --- .github/workflows/test.yaml | 2 ++ CONTRIBUTING.md | 3 ++- Cargo.toml | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 47708fb..586e75b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -51,6 +51,7 @@ jobs: name: "armv7 (32-Bit Raspberry Pi)" target: armv7-unknown-linux-gnueabihf + name: Run tests on ${{ matrix.os }}, ${{ matrix.name }}) runs-on: ${{ matrix.os }} steps: - name: Checkout code @@ -70,6 +71,7 @@ jobs: uses: actions/download-artifact@v4 with: name: wasm + path: examples/rust/out - name: Run tests run: cargo test --workspace ${{ matrix.args }} && cargo run --example wasm-rust all diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a0eb744..2302bef 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -44,7 +44,8 @@ $ cargo test-wast {path} # Run a specific example (run without arguments to see available examples) # The wasm test files required to run the `wasm-rust` examples are not # included in the main repository. -# To build these, you will need to run `./examples/rust/build.sh`. +# To build these, you will need to install binaryen and wabt +# and run `./examples/rust/build.sh`. $ cargo run --example {example_name} ``` diff --git a/Cargo.toml b/Cargo.toml index ae231c3..f5141ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,5 +53,5 @@ panic="abort" inherits="release" [profile.samply] -inherits = "release" -debug = true +inherits="release" +debug=true -- cgit v1.3.1