mirror of
https://github.com/remko/waforth
synced 2024-12-27 09:59:29 +01:00
github: Download WABT source in setup
This commit is contained in:
parent
23a5ed58d2
commit
80e261d5af
2 changed files with 26 additions and 0 deletions
7
.github/actions/setup/action.yml
vendored
7
.github/actions/setup/action.yml
vendored
|
@ -22,6 +22,13 @@ runs:
|
|||
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
|
||||
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
|
||||
- run: yarnpkg --pure-lockfile
|
||||
shell: bash
|
||||
|
|
19
.github/workflows/build-waforthc.yml
vendored
Normal file
19
.github/workflows/build-waforthc.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: Build waforthc
|
||||
|
||||
on:
|
||||
# push:
|
||||
# pull_request:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
build-waforthc:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-18.04, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ./.github/actions/setup
|
||||
# - run: make -C src/standalone install-deps package
|
||||
# - run: make -C src/standalone check
|
Loading…
Reference in a new issue