diff options
| -rw-r--r-- | .builds/alpine-edge-amd64.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.builds/alpine-edge-amd64.yml b/.builds/alpine-edge-amd64.yml new file mode 100644 index 0000000..dc6f34f --- /dev/null +++ b/.builds/alpine-edge-amd64.yml | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | image: alpine/edge | ||
| 2 | arch: x86_64 | ||
| 3 | packages: | ||
| 4 | - curl | ||
| 5 | - jq | ||
| 6 | - sqlite-dev | ||
| 7 | - xz | ||
| 8 | sources: | ||
| 9 | - https://git.sr.ht/~vrischmann/zig-sqlite | ||
| 10 | secrets: | ||
| 11 | - ce266aec-9be4-4136-b53e-dc12a62a399b | ||
| 12 | |||
| 13 | tasks: | ||
| 14 | - install_zig: | | ||
| 15 | curl -L -s "https://ziglang.org/download/index.json" | jq '.master["x86_64-linux"].tarball' -r >> ~/zig_master_url | ||
| 16 | curl -J -o ~/zig.tar.xz $(cat ~/zig_master_url) | ||
| 17 | tar xJf ~/zig.tar.xz | ||
| 18 | mv ~/zig-linux-* ~/zig-master | ||
| 19 | echo "export PATH=$PATH:~/zig-master" >> ~/.buildenv | ||
| 20 | - test: | | ||
| 21 | cd zig-sqlite | ||
| 22 | TERM=dumb zig build test -Dis_ci | ||
| 23 | |||
| 24 | triggers: | ||
| 25 | - action: email | ||
| 26 | condition: failure | ||
| 27 | to: "Vincent Rischmann <vincent@rischmann.fr>" | ||