From a1c89f3524d9f7e279a5e5d8977592e678670ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 8 Jun 2021 06:30:06 +0300 Subject: [PATCH] add .build.yml --- .build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..156d742 --- /dev/null +++ b/.build.yml @@ -0,0 +1,16 @@ +image: debian/testing +packages: + - curl +sources: + - https://git.sr.ht/~motiejus/bazel-zig-cc +environment: + - CC: /usr/bin/false +tasks: + - setup: | + curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.9.0/bazelisk-linux-amd64 \ + -o /usr/local/bin/bazel + chmod +x /usr/local/bin/bazel + - test_musl: | + bazel run --platforms @com_github_ziglang_zig//:platform_linux-x86_64-musl //test:gomusl + - test_gnu: | + bazel run --platforms @com_github_ziglang_zig//:platform_linux-x86_64-gnu //test:gognu