Skip to content

Commit

Permalink
Add wasm size to output (#1386)
Browse files Browse the repository at this point in the history
### What
Add wasm size to output

### Why
So that it's easy to look at PRs to see how they change the size of the
test vectors when built.
  • Loading branch information
leighmcculloch authored Oct 25, 2024
1 parent 44ed570 commit b7b8255
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ jobs:
run: rm -fr **/test_snapshots
- name: Build for wasm
run: cargo-hack hack build --target wasm32-unknown-unknown --profile release
- name: Wasm Size
run: |
cd target/wasm32-unknown-unknown/release/ && \
for i in *.wasm ; do \
ls -l "$i"; \
done
- if: "!matrix.sys.cdylib-cross-compile-workaround"
name: Build for native
run: cargo-hack hack --feature-powerset --exclude-features docs build --target ${{ matrix.sys.target }}
Expand Down

0 comments on commit b7b8255

Please sign in to comment.