Skip to content

JavaScript bindings

JavaScript bindings #2

Workflow file for this run

name: WASI Bindings
on:
push:
paths:
- ".github/workflows/wasi-bindings.yml"
- "include/"
- "src/"
- "*akefile*"
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up WASI-SDK
run: |
wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-linux.tar.gz
tar xvf wasi-sdk-20.0-linux.tar.gz
- name: Build the project
run: make wasm WASI_SDK_PATH=$(pwd)/wasi-sdk-20.0-linux
- uses: actions/upload-artifact@v3
with:
name: librubyparser.wasm
path: build/librubyparser.wasm