Skip to content

Commit

Permalink
ci: add test for cdylib example
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Dec 19, 2023
1 parent 137da31 commit 9938762
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,14 @@ jobs:
restore-keys: |
wasm32-example-yew-tls
- name: Setup | Cache | Example cdylib
uses: actions/cache@v3
with:
path: examples/cdylib/target
key: wasm32-example-cdylib
restore-keys: |
wasm32-example-cdylib
- name: Setup | Rust
run: |
rustup toolchain install stable --target wasm32-unknown-unknown
Expand Down Expand Up @@ -183,5 +191,7 @@ jobs:
run: ${{ matrix.binPath }} --config=examples/yew-tailwindcss/Trunk.toml build
- name: Build | Examples | yew-tls
run: ${{ matrix.binPath }} --config=examples/yew-tls/Trunk.toml build
- name: Build | Examples | cdylib
run: ${{ matrix.binPath }} --config=examples/cdylib/Trunk.toml build
- name: Build | Examples | no-rust
run: ${{ matrix.binPath }} --config=examples/no-rust/Trunk.toml build
3 changes: 3 additions & 0 deletions examples/cdylib/Trunk.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build]
target = "index.html"
dist = "dist"

0 comments on commit 9938762

Please sign in to comment.