Skip to content

Feature: Initial WASM Web Runtime #51

Feature: Initial WASM Web Runtime

Feature: Initial WASM Web Runtime #51

Workflow file for this run

name: build
on:
push:
branches: [main]
pull_request:
jobs:
# Separate build job for Rust (will run in parallel)
build-rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: "8.0.x"
- name: Restore tools
run: dotnet tool restore
- name: Setup Node.js environment
uses: actions/[email protected]
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build Rust
run: npm run build-rust
- name: Test Rust
run: npm run test-rust
# Separate build job for JavaScript
build-javascript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: "8.0.x"
- name: Restore tools
run: dotnet tool restore
- name: Setup Node.js environment
uses: actions/[email protected]
- name: Build JS
run: npm run build-js
- name: Test JS
run: npm run test-js-node