-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||