-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (46 loc) · 1.51 KB
/
validate.yml
File metadata and controls
58 lines (46 loc) · 1.51 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# example-kvs CI — runs the two gates that work without spar/sigil
# installed: rivet validate (typed-artifact graph check) and the
# artifact-driven verification gate (tools/verify.py).
#
# No untrusted input is used in any run: block; all commands are
# static make targets / pinned installs.
name: validate
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
validate-pinned:
name: rivet validate + artifact-driven verification gate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install rivet
run: |
cargo install --git https://github.com/pulseengine/rivet \
--tag v0.13.0 \
rivet-cli --bin rivet --locked
rivet --version
- name: Install PyYAML for verify.py
run: pip install pyyaml
- name: rivet validate (typed-artifact graph check)
run: make validate
- name: artifact-driven verification gate
run: make verify
bazel-wasm-component:
name: bazel build (AADL → WIT → wasm component)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up bazelisk
uses: bazel-contrib/setup-bazel@0.9.1
with:
bazelisk-version: "1.x"
- name: bazel build //... (WIT → wit-bindgen → rust_component → .wasm)
run: bazel build //...
- name: bazel test //... (rust_wasm_component_test)
run: bazel test //... --test_output=errors