From 5fb49d3a3e69524588c974387fd8da1f9525af71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 21 Nov 2022 06:40:50 +0200 Subject: [PATCH] add .build.yml so this is visible in CI --- .build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..87723bf --- /dev/null +++ b/.build.yml @@ -0,0 +1,26 @@ +image: debian/stable +packages: + - direnv +sources: + - https://git.sr.ht/~motiejus/test-zigcc +environment: + CC: /usr/bin/false +triggers: + - action: email + condition: failure + to: motiejus+srht@jakstys.lt +tasks: + - setup: | + sudo apt-get purge gcc -y && sudo apt-get autoremove -y + - llvm14: | + cd test-zigcc; . .envrc + bazel clean; bazel shutdown; bazel build --extra_toolchains=@llvm_toolchain//:cc-toolchain-x86_64-linux ... + - zig_cc-no_sandbox: | + cd test-zigcc; . .envrc + bazel clean; bazel shutdown; bazel build --spawn_strategy=local --platforms=@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.28 ... + - zig_cc-devshm: | + cd test-zigcc; . .envrc + bazel clean; bazel shutdown; bazel build --sandbox_base=/dev/shm --platforms=@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.28 ... + - zig_cc-plain: | + cd test-zigcc; . .envrc + bazel clean; bazel shutdown; bazel build --platforms=@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.28 ...