Skip to content

bench: dispatch Pages deploy after recording results #123

bench: dispatch Pages deploy after recording results

bench: dispatch Pages deploy after recording results #123

Workflow file for this run

name: CI
on:
push:
branches:
- master
- main
- develop
pull_request:
branches:
- master
- main
- develop
workflow_dispatch:
jobs:
wasm:
name: WASM Build & Test
runs-on: ubuntu-latest
env:
WASI_SDK_VERSION: "24"
WASI_SDK_FULL: "24.0"
WASMTIME_VERSION: "v27.0.0"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install wasi-sdk
run: |
mkdir -p "$HOME/wasi-sdk"
curl -L -o /tmp/wasi-sdk.tar.gz \
"https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_FULL}-x86_64-linux.tar.gz"
tar -xzf /tmp/wasi-sdk.tar.gz -C "$HOME/wasi-sdk" --strip-components=1
"$HOME/wasi-sdk/bin/clang" --version
- name: Install wasmtime
run: |
curl -L -o /tmp/wasmtime.tar.xz \
"https://github.com/bytecodealliance/wasmtime/releases/download/${WASMTIME_VERSION}/wasmtime-${WASMTIME_VERSION}-x86_64-linux.tar.xz"
mkdir -p "$HOME/wasmtime"
tar -xJf /tmp/wasmtime.tar.xz -C "$HOME/wasmtime" --strip-components=1
echo "$HOME/wasmtime" >> "$GITHUB_PATH"
"$HOME/wasmtime/wasmtime" --version
- name: Build io_static
run: make -j$(nproc)
- name: Build test_iterative_eval
run: make -j$(nproc) test
- name: Run tests
run: make check
timeout-minutes: 10
- name: Build browser REPL
run: make -j$(nproc) browser