Bincode fixes #145
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: wasm-bench | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| measure-wasm-size: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| # Install the required target | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| target: ${{ matrix.arch }} | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Build and measure size of wasm bindings | |
| run: | | |
| cargo install wasm-pack | |
| sudo apt update && sudo apt install binaryen | |
| export PATH=$PATH:$HOME/.cargo/bin | |
| ./openmls-wasm/check-size.sh |