From c928932b8019f7c91fa5afc56e2c935bf230d083 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Sat, 29 May 2021 11:43:31 +0200 Subject: ci: run the tests with qemu too --- .builds/alpine-edge-amd64.yml | 13 +++++++++++++ .builds/debian-stable-amd64.yml | 9 +++++++++ 2 files changed, 22 insertions(+) diff --git a/.builds/alpine-edge-amd64.yml b/.builds/alpine-edge-amd64.yml index 93595a7..2e7b143 100644 --- a/.builds/alpine-edge-amd64.yml +++ b/.builds/alpine-edge-amd64.yml @@ -5,6 +5,11 @@ packages: - jq - sqlite-dev - xz + - qemu-aarch64 + - qemu-i386 + - qemu-riscv64 + - qemu-mips + - qemu-arm sources: - https://github.com/vrischmann/zig-sqlite secrets: @@ -25,3 +30,11 @@ tasks: - 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 diff --git a/.builds/debian-stable-amd64.yml b/.builds/debian-stable-amd64.yml index 7fc831c..5d80c5b 100644 --- a/.builds/debian-stable-amd64.yml +++ b/.builds/debian-stable-amd64.yml @@ -4,6 +4,7 @@ packages: - curl - jq - libsqlite3-dev + - qemu-user-binfmt sources: - https://github.com/vrischmann/zig-sqlite secrets: @@ -24,3 +25,11 @@ tasks: - 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 -- cgit v1.2.3