github: Remove WABT source package download

This commit is contained in:
Remko Tronçon 2022-11-13 19:02:01 +01:00
parent 4516fb92e1
commit 00db76e3d3

View file

@ -7,7 +7,7 @@ runs:
node-version: 17 node-version: 17
cache: 'yarn' cache: 'yarn'
- if: runner.os == 'macOS' - if: runner.os == 'macOS'
run: brew install wabt run: brew install wabt boost
shell: bash shell: bash
- if: runner.os == 'Linux' - if: runner.os == 'Linux'
run: sudo apt-get install libboost-dev libboost-filesystem-dev libboost-program-options-dev run: sudo apt-get install libboost-dev libboost-filesystem-dev libboost-program-options-dev
@ -23,13 +23,6 @@ runs:
run: | run: |
curl -L -s https://github.com/WebAssembly/wabt/releases/download/1.0.30/wabt-1.0.30-windows.tar.gz | tar xvz -C /c/tools curl -L -s https://github.com/WebAssembly/wabt/releases/download/1.0.30/wabt-1.0.30-windows.tar.gz | tar xvz -C /c/tools
cp /c/tools/wabt-1.0.30/bin/* /c/Windows/system32 cp /c/tools/wabt-1.0.30/bin/* /c/Windows/system32
curl -L -s https://github.com/WebAssembly/wabt/releases/download/1.0.30/wabt-1.0.30.tar.xz | tar xvJ -C /tmp
mv /tmp/wabt-1.0.30/wasm2c /c/tools/wasm2c
shell: bash
- if: runner.os == 'Linux' || runner.os == 'macOS'
run: |
curl -L -s https://github.com/WebAssembly/wabt/releases/download/1.0.30/wabt-1.0.30.tar.xz | tar xvJ -C /tmp
sudo mv /tmp/wabt-1.0.30/wasm2c /usr/local/wasm2c
shell: bash shell: bash
- run: yarnpkg --pure-lockfile - run: yarnpkg --pure-lockfile
shell: bash shell: bash