-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (54 loc) · 1.71 KB
/
ci.yml
File metadata and controls
58 lines (54 loc) · 1.71 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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
# ── Job 1: Static validation ─────────────────────────────────────────────
validate:
name: Validate manifests & scripts
runs-on: ubuntu-latest
permissions:
contents: read
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- run: git submodule update --init tools prebuilt
- name: Lint
run: bash ci/lint.sh
- name: Validate
run: bash ci/test.sh
# ── Job 2: Server binary health check ────────────────────────────────────
server-health:
name: Server health (${{ matrix.os }})
runs-on: ${{ matrix.os }}
needs: validate
permissions:
contents: read
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
binary: prebuilt/bin/devkit-server-linux-amd64
- os: windows-latest
binary: prebuilt/bin/devkit-server-windows-amd64.exe
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- run: git submodule update --init tools prebuilt
- name: Smoke test
shell: bash
env:
DEVKIT_BINARY: ${{ matrix.binary }}
run: bash ci/smoke.sh