-
Notifications
You must be signed in to change notification settings - Fork 66
48 lines (37 loc) · 867 Bytes
/
tests.yml
File metadata and controls
48 lines (37 loc) · 867 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
46
47
48
name: tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
zig: "0.15.0-dev.1034+bd97b6618"
runs-on: ${{matrix.os}}
steps:
- name: Clone Ziglua
uses: actions/checkout@v3
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: ${{ matrix.zig }}
- name: Run tests
run: make test
test_cross:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
zig: "0.15.0-dev.1034+bd97b6618"
runs-on: ${{matrix.os}}
steps:
- name: Clone Ziglua
uses: actions/checkout@v3
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: ${{ matrix.zig }}
- name: Run tests
run: make test_cross