-
Notifications
You must be signed in to change notification settings - Fork 22
43 lines (39 loc) · 1.35 KB
/
wasmstan.yml
File metadata and controls
43 lines (39 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: build-prophet-wasmstan
on:
push:
branches: ["main"]
pull_request:
env:
CARGO_TERM_COLOR: always
permissions: {}
jobs:
build:
name: Prophet WASMStan component
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9
with:
toolchain: stable
- uses: taiki-e/install-action@d6e286fa45544157a02d45a43742857ebbc25d12 # v2.68.16
with:
tool: cargo-binstall,just,ripgrep,wasmtime
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install deps
run: just components/install-deps
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
- name: Run node test
run: just components/test
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: prophet-wasmstan.wasm
path: components/cpp/prophet-wasmstan/prophet-wasmstan.wasm
- name: Copy prophet-wasmstan.wasm to augurs
run: just copy-component-wasm
- name: Ensure no diffs
run: git diff --exit-code -- crates/augurs-prophet/prophet-wasmstan.wasm