-
Notifications
You must be signed in to change notification settings - Fork 62
68 lines (52 loc) · 1.27 KB
/
tests.yml
File metadata and controls
68 lines (52 loc) · 1.27 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
59
60
61
62
63
64
65
66
67
68
name: tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
#------ zig-dev builds ------
test_zig_nightly:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm]
runs-on: ${{matrix.os}}
steps:
- name: Clone Ziglua
uses: actions/checkout@v3
- name: Setup Zig
uses: mlugg/setup-zig@v2
with:
version: master
- name: Run tests
run: make test_zig_nightly
#------ zig-0.15 ------
#test_zig_015:
# strategy:
# matrix:
# os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm]
# runs-on: ${{matrix.os}}
# steps:
# - name: Clone Ziglua
# uses: actions/checkout@v3
# - name: Setup Zig
# uses: mlugg/setup-zig@v2
# with:
# version: "0.15.2"
# - name: Run tests
# run: make test_zig_stable
#------ cross compilation ------
test_cross:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm]
runs-on: ${{matrix.os}}
steps:
- name: Clone Ziglua
uses: actions/checkout@v3
- name: Setup Zig
uses: mlugg/setup-zig@v2
with:
version: master
- name: Run tests
run: make test_cross