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
when:
- event: ["push", "pull_request"]
branch: ["main", "zig-0.17"]
engine: nixery
dependencies:
nixpkgs:
- coreutils
- curl
- gnutar
- xz
- python3
- openssl
steps:
- name: install pinned zig
command: scripts/ci-zig.sh /tangled/workspace/.zig
- name: check formatting
command: |
/tangled/workspace/.zig/zig fmt --check build.zig build.zig.zon src scripts examples
- name: run tests
command: |
/tangled/workspace/.zig/zig build test --summary all
- name: verify macOS toolchain patch guards
command: python3 -m unittest discover -s scripts -p test_macos_trust.py
- name: verify TLS certificate rotation
command: ZIG=/tangled/workspace/.zig/zig python3 scripts/test_tls_clock.py
- name: compile tests for 32-bit arm (no 64-bit atomics)
command: |
/tangled/workspace/.zig/zig build test -Dtarget=arm-linux-musleabihf -Dcpu=arm1176jzf_s --summary all