~ knotless Search/
↑↓ move↵ open⇧↵ all results

zat.dev/zttp

mirror of https://tangled.org/zat.dev/zttp

0
0
main
36 lines · 943 B Raw History
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