-
Notifications
You must be signed in to change notification settings - Fork 8
49 lines (38 loc) · 1.01 KB
/
ci.yml
File metadata and controls
49 lines (38 loc) · 1.01 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
name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build-and-smoke:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Linux system deps
run: |
sudo apt-get update -qq
sudo apt-get install -y --no-install-recommends \
pkg-config libssl-dev
- name: Build webui
run: |
pnpm -C webui install --frozen-lockfile
pnpm -C webui build
- name: Cargo check
run: cargo check --workspace --exclude nyro-desktop
- name: Build nyro-server
run: cargo build -p nyro-server
- name: Run smoke tests
run: python3 scripts/smoke/server_smoke.py