comment out macos for now
This commit is contained in:
parent
51b8a382e7
commit
52559a9bb8
16
.build.yml
16
.build.yml
@ -13,11 +13,15 @@ tasks:
|
||||
- test_default: |
|
||||
cd bazel-zig-cc; ../bazel run --toolchain_resolution_debug=true \
|
||||
//test:gognu
|
||||
- test_musl: |
|
||||
- test_linux-gnu: |
|
||||
cd bazel-zig-cc; ../bazel run --toolchain_resolution_debug=true \
|
||||
--platforms @com_github_ziglang_zig//:platform_linux-x86_64-musl \
|
||||
//test:gomusl
|
||||
- test_gnu: |
|
||||
cd bazel-zig-cc; ../bazel run --toolchain_resolution_debug=true \
|
||||
--platforms @com_github_ziglang_zig//:platform_linux-x86_64-gnu \
|
||||
--platforms @com_github_ziglang_zig//:platform_x86_64-linux-gnu \
|
||||
//test:gognu
|
||||
- test_linux-musl: |
|
||||
cd bazel-zig-cc; ../bazel run --toolchain_resolution_debug=true \
|
||||
--platforms @com_github_ziglang_zig//:platform_x86_64-linux-musl \
|
||||
//test:gomusl
|
||||
#- test_macos-gnu: |
|
||||
# cd bazel-zig-cc; ../bazel build --toolchain_resolution_debug=true \
|
||||
# --platforms @com_github_ziglang_zig//:platform_x86_64-macos-gnu \
|
||||
# //test:gognu
|
||||
|
17
README.md
17
README.md
@ -18,7 +18,7 @@ these basic constraints:
|
||||
|
||||
# Testing
|
||||
|
||||
## cgo + glibc 2.19
|
||||
## linux cgo + glibc 2.19
|
||||
|
||||
Using the default toolchain:
|
||||
|
||||
@ -31,15 +31,15 @@ $ file ../bazel-bin/test/gognu_/gognu
|
||||
../bazel-bin/test/gognu_/gognu: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.0.0, Go BuildID=redacted, with debug_info, not stripped
|
||||
```
|
||||
|
||||
Explicitly specifying `-gnu`:
|
||||
Explicitly the toolchain explicitly `-gnu`:
|
||||
```
|
||||
$ bazel run --platforms @com_github_ziglang_zig//:platform_x86_64-linux-gnu //test:gognu
|
||||
```
|
||||
|
||||
## cgo + musl
|
||||
## linux cgo + musl
|
||||
|
||||
```
|
||||
$ bazel build --platforms @com_github_ziglang_zig//:platform_x86_64-linux-musl :gomusl
|
||||
$ bazel build --platforms @com_github_ziglang_zig//:platform_x86_64-linux-musl //test:gomusl
|
||||
...
|
||||
$ file ../bazel-out/k8-fastbuild-ST-d17813c235ce/bin/test/gomusl_/gomusl
|
||||
../bazel-out/k8-fastbuild-ST-d17813c235ce/bin/test/gomusl_/gomusl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=redacted, with debug_info, not stripped
|
||||
@ -47,6 +47,15 @@ $ ../bazel-out/k8-fastbuild-ST-d17813c235ce/bin/test/gomusl_/gomusl
|
||||
hello, world
|
||||
```
|
||||
|
||||
## macos cgo + gnu
|
||||
|
||||
Does not work?
|
||||
|
||||
```
|
||||
$ bazel build --platforms @com_github_ziglang_zig//:platform_x86_64-macos-musl //test:gognu
|
||||
...
|
||||
```
|
||||
|
||||
## Transient docker environment
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user