-
Notifications
You must be signed in to change notification settings - Fork 4
57 lines (46 loc) · 943 Bytes
/
test.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
47
48
49
50
51
52
53
54
55
56
57
name: test
on:
push:
paths:
- ".github/workflows/ci.yml"
- "**.zig"
- "**.zon"
pull_request:
paths:
- ".github/workflows/ci.yml"
- "**.zig"
- "**.zon"
jobs:
test:
strategy:
matrix:
include:
- zig-version: master
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Grab Zig
uses: mlugg/setup-zig@v1
with:
version: ${{ matrix.zig-version }}
- name: Native modules
run: |
make native
- name: Linux modules
run: |
make linux
- name: macOS modules
run: |
make macos
- name: Windows modules
run: |
make windows
- name: WebAssembly modules
run: |
make wasm
- name: Tests master
run: |
make test