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