Skip to content

Commit

Permalink
chore(ci): Install WASI-SDK as separate step and tar-zip WASM executa…
Browse files Browse the repository at this point in the history
…ble (#604)
  • Loading branch information
kevaundray authored Jul 12, 2023
1 parent 8a4f5f1 commit 40a0c85
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,19 @@ jobs:
cmake --preset default -DCMAKE_BUILD_TYPE=RelWithAssert
cmake --build --preset default --target bb
./scripts/install-wasi-sdk.sh
cmake --preset wasm
cmake --build --preset wasm
- name: Copy Barretenberg.wasm to Root directory
run: cp cpp/build-wasm/bin/barretenberg.wasm ./

- name: Install WASI-SDK
run: |
cd cpp
./scripts/install-wasi-sdk.sh
- name: Compile Typescript
run: |
cd ts
yarn install && yarn && yarn build
- name: Tar and GZip barretenberg.wasm
run: tar -cvzf barretenberg.wasm.tar.gz cpp/build-wasm/bin/barretenberg.wasm

- name: Setup Node.js
uses: actions/setup-node@v2
Expand All @@ -86,7 +87,7 @@ jobs:
with:
name: release-linux-wasm
path: |
barretenberg.wasm
barretenberg.wasm.tar.gz
bb-ubuntu.tar.gz
build-mac:
Expand Down Expand Up @@ -144,6 +145,6 @@ jobs:
tag_name: ${{ needs.release-please.outputs.tag-name }}
prerelease: true
files: |
barretenberg.wasm
barretenberg.wasm.tar.gz
bb-ubuntu.tar.gz
bb-mac.tar.gz

0 comments on commit 40a0c85

Please sign in to comment.