Skip to content

Commit

Permalink
ci: fix build job by generating missing bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
sehnryr committed Jul 5, 2024
1 parent 5b340f8 commit 7fc784b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test-and-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ jobs:
while read -r package_dir; do
package_name=$(grep -oP -m 1 'name = "\K[^"]+' $package_dir/Cargo.toml)
echo "Building $package_name"
# Generate the bindings for the package by checking the formatting
cargo component fmt --package $package_name -- --check
# Build the package
cargo component build --release --target wasm32-unknown-unknown --locked --package $package_name
done <<< "$changed_packages_dir"
Expand Down

0 comments on commit 7fc784b

Please sign in to comment.