Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ jobs:
- name: Install cargo-generate
run: cargo binstall --locked cargo-generate

- name: Build wasm-bindgen
run: |
cd wasm-bindgen
cargo build -p wasm-bindgen-cli --bin wasm-bindgen

- name: Generate and build all templates
run: |
mkdir -p generated
Expand All @@ -79,7 +84,7 @@ jobs:
cargo generate --path $template --name "$template_name" --destination ./generated --force --define panic_unwind=false
cd "generated/$template_name"
echo "Building $template_name"
../../target/debug/worker-build
WASM_BINDGEN_BIN='../../wasm-bindgen/target/debug/wasm-bindgen' ../../target/debug/worker-build
cd ../..
done

Expand Down Expand Up @@ -109,7 +114,9 @@ jobs:
run: chmod +x ./target/debug/worker-build

- name: Build wasm-bindgen
run: cd wasm-bindgen && cargo build -p wasm-bindgen-cli --bin wasm-bindgen
run: |
cd wasm-bindgen
cargo build -p wasm-bindgen-cli --bin wasm-bindgen

- name: Build all examples
run: |
Expand Down
Loading