blob: 00a2bd26d56d5d7eb0b5ddce1cf960fd32e46fb8 (
plain) (
blame)
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
|
image: debian/stable
arch: amd64
packages:
- curl
- jq
- libsqlite3-dev
- qemu-user-binfmt
sources:
- https://github.com/vrischmann/zig-sqlite
tasks:
- install_zig: |
curl -L -s "https://ziglang.org/download/index.json" | jq '.master["x86_64-linux"].tarball' -r >> ~/zig_master_url
curl -J -o ~/zig.tar.xz $(cat ~/zig_master_url)
tar xJf ~/zig.tar.xz
mv ~/zig-linux-* ~/zig-master
echo "export PATH=$PATH:~/zig-master" >> ~/.buildenv
- test_in_memory: |
cd zig-sqlite
TERM=dumb zig build test -Din_memory=true
- test_filesystem: |
cd zig-sqlite
TERM=dumb zig build test -Din_memory=false
- test_in_memory_with_qemu: |
cd zig-sqlite
TERM=dumb zig build test -Din_memory=true -Denable_qemu=true
- test_filesystem_with_qemu: |
cd zig-sqlite
TERM=dumb zig build test -Din_memory=false -Denable_qemu=true
|