Skip to content

gengo: make test tooling repo-local and remove legacy libsc shim #3

gengo: make test tooling repo-local and remove legacy libsc shim

gengo: make test tooling repo-local and remove legacy libsc shim #3

Workflow file for this run

name: pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v2
with:
version: 0.14.1
- name: Build WASM runtime
run: make wasi-release
- name: Assemble site
run: |
rm -rf _site
mkdir -p _site
cp playground/index.html _site/index.html
cp playground/playground.js _site/playground.js
cp gengo-test.wasm _site/gengo-test.wasm
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v3
with:
path: _site
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4