-
-
Notifications
You must be signed in to change notification settings - Fork 189
46 lines (39 loc) · 1.01 KB
/
ci.yml
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
name: Continuous Integration
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
zig-tests:
runs-on: ubuntu-latest
name: zig build test (multi version)
strategy:
matrix:
zig-version: [master, 0.13.0, 0.12.1, 0.11.0]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: mlugg/[email protected]
with:
version: ${{ matrix.zig-version }}
- run: |
echo "Testing with Zig version: ${{ matrix.zig-version }}"
zig version
zig build test --summary all
docusaurus-build:
runs-on: ubuntu-latest
name: docusaurus build
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: "23"
- name: "npm install"
run: npm install
working-directory: website
- name: "npm run build"
run: npm run build
working-directory: website
- name: "Verify built site"
run: test website/build