Skip to content

Commit

Permalink
add wasm CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
a10y committed Dec 5, 2024
1 parent bc1ea8e commit 4f7733a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
branches: [ "develop" ]
pull_request: { }
workflow_dispatch: { }

permissions:
actions: read
contents: read
checks: write # audit-check creates checks
issues: write # audit-check creates issues

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1

jobs:
build:
name: "build for wasm32-wasip1"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/cleanup
- uses: rui314/setup-mold@v1
- uses: ./.github/actions/setup-rust
- uses: jetli/[email protected]
with:
# Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest')
version: 'latest'
- name: build for wasm32-wasip1 target
working-directory: ./vortex-wasm
run: |
echo 'building Rust + TS, making sure it completes with success'
npm run build

0 comments on commit 4f7733a

Please sign in to comment.