1
This commit is contained in:
Motiejus Jakštys 2021-06-16 12:52:11 +03:00 committed by Motiejus Jakštys
parent 39535dadc5
commit f824f4ac8e

View File

@ -35,13 +35,13 @@ tasks:
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" tee /dev/stderr | grep -q "statically linked"
- test_x86_64-macos-gnu: | - test_x86_64-macos-gnu: |
cd bazel-zig-cc; ../bazel build --toolchain_resolution_debug=true \ cd bazel-zig-cc; ../bazel build \
--platforms @zig_sdk//:x86_64-macos-gnu \ --platforms @zig_sdk//:x86_64-macos-gnu \
//test:gomacos //test:gomacos
file $(./getpath @zig_sdk//:x86_64-macos-gnu //test:gomacos) | \ file $(./getpath @zig_sdk//:x86_64-macos-gnu //test:gomacos) | \
tee /dev/stderr | grep -q "Mach-O 64-bit arm64 executable" tee /dev/stderr | grep -q "Mach-O 64-bit arm64 executable"
- test_aarch64-macos-gnu: | - test_aarch64-macos-gnu: |
cd bazel-zig-cc; ../bazel build --toolchain_resolution_debug=true \ cd bazel-zig-cc; ../bazel build \
--platforms @zig_sdk//:aarch64-macos-gnu \ --platforms @zig_sdk//:aarch64-macos-gnu \
//test:gomacos //test:gomacos
file $(./getpath @zig_sdk//:aarch64-macos-gnu //test:gomacos) | \ file $(./getpath @zig_sdk//:aarch64-macos-gnu //test:gomacos) | \