From 72e4c67e7784bbd7fa691b5243e4bcdc533d3a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 10 Jun 2021 21:07:31 +0300 Subject: [PATCH] more checks --- .build.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.build.yml b/.build.yml index 0908302..34e8183 100644 --- a/.build.yml +++ b/.build.yml @@ -17,19 +17,23 @@ tasks: - test_x86_64-linux-gnu: | cd bazel-zig-cc; ../bazel run \ --platforms @zig_sdk//:x86_64-linux-gnu //test:gognu - file $(./getpath @zig_sdk//:x86_64-linux-gnu //test:gognu) + file $(./getpath @zig_sdk//:x86_64-linux-gnu //test:gognu) | \ + tee /dev/stderr | grep -q "dynamically linked" - test_x86_64-linux-musl: | cd bazel-zig-cc; ../bazel run \ --platforms @zig_sdk//:x86_64-linux-musl //test:gomusl - file $(./getpath @zig_sdk//:x86_64-linux-musl //test:gomusl) + file $(./getpath @zig_sdk//:x86_64-linux-musl //test:gomusl) | \ + tee /dev/stderr | grep -q "statically linked" - test_aarch64-linux-gnu: | cd bazel-zig-cc; ../bazel build \ --platforms @zig_sdk//:aarch64-linux-gnu //test:gognu - file $(./getpath @zig_sdk//:aarch64-linux-gnu //test:gognu) + file $(./getpath @zig_sdk//:aarch64-linux-gnu //test:gognu) | \ + tee /dev/stderr | grep -q "dynamically linked" - test_aarch64-linux-musl: | cd bazel-zig-cc; ../bazel build \ --platforms @zig_sdk//:aarch64-linux-musl //test:gomusl - file $(./getpath @zig_sdk//:aarch64-linux-musl //test:gomusl) + file $(./getpath @zig_sdk//:aarch64-linux-musl //test:gomusl) | \ + tee /dev/stderr | grep -q "statically linked" #- test_macos-gnu: | # cd bazel-zig-cc; ../bazel build --toolchain_resolution_debug=true \ # --platforms @zig_sdk//:x86_64-macos-gnu \