atproto utils for zig
zat.dev
atproto
sdk
zig
1when:
2 - event: ["push", "pull_request"]
3 branch: main
4
5engine: nixery
6
7dependencies:
8 nixpkgs:
9 - curl
10 - gnutar
11 - xz
12
13steps:
14 - name: install zig 0.16
15 command: |
16 curl -sSL https://ziglang.org/builds/zig-x86_64-linux-0.16.0-dev.3070+b22eb176b.tar.xz | tar -xJ -C /tangled/workspace
17 mv /tangled/workspace/zig-x86_64-linux-0.16.0-dev.3070+b22eb176b /tangled/workspace/.zig
18
19 - name: check formatting
20 command: |
21 /tangled/workspace/.zig/zig fmt --check .
22
23 - name: run tests
24 command: |
25 /tangled/workspace/.zig/zig build test --summary all