Skip to content

Commit

Permalink
fix: install binaryen
Browse files Browse the repository at this point in the history
  • Loading branch information
osipov-mit committed Nov 26, 2024
1 parent 36a97a0 commit 50e3e9b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/js-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
- 'Sails.Net.sln'
workflow_dispatch:

env:
BINARYEN_VERSION: version_111

jobs:
test:
if: github.event_name == 'pull_request'
Expand All @@ -33,6 +36,12 @@ jobs:
- name: 'Install: dependencies'
run: yarn install

- name: 'Install: binaryen'
working-directory: /usr
run: |
sudo wget -c https://github.com/WebAssembly/binaryen/releases/download/$BINARYEN_VERSION/binaryen-$BINARYEN_VERSION-x86_64-linux.tar.gz -O - | sudo tar -xz -C .
sudo cp binaryen-$BINARYEN_VERSION/bin/wasm-opt /usr/bin/
- name: 'Prepare: build parser'
run: ./js/scripts/build-parser.sh

Expand Down

0 comments on commit 50e3e9b

Please sign in to comment.