-
-
Notifications
You must be signed in to change notification settings - Fork 83
41 lines (39 loc) · 1.01 KB
/
mastercheck.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
name: Works with Zig master
on:
push:
branches:
- zig-master
pull_request:
branches:
- zig-master
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
ci:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
with:
ref: zig-master
- uses: goto-bus-stop/setup-zig@v2
with:
version: master
- name: Check zig version
run: zig version
- name: Build all examples
run: zig build all
# Run tests separately so we can see more clearly which one fails
- name: Run mustache tests
run: zig build test-mustache
- name: Run httpparams tests
run: zig build test-httpparams
- name: Run sendfile tests
run: zig build test-sendfile
- name: Run authentication tests
run: zig build test-authentication
- name: Report end of tests
run: echo "tests finished"