-
Notifications
You must be signed in to change notification settings - Fork 4
45 lines (36 loc) · 977 Bytes
/
ci.yml
File metadata and controls
45 lines (36 loc) · 977 Bytes
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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y clang
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.89.0"
targets: wasm32-wasip1, x86_64-unknown-none
- name: Setup Node.js
uses: actions/setup-node@v6.3.0
with:
node-version: "lts/*"
cache: npm
- name: Install just
uses: extractions/setup-just@v3
- name: Install cargo-component
run: cargo install cargo-component
- name: Install npm dependencies
run: npm install
- name: Build host and components
run: |
just build
just build-rust-component
just build-js-component