af9360366b
- ci only: use a separate zig cache dir for each run - use `tools/bazel` everywhere. - remove arm64 tests. They don't give enough value to be worth the brittle environment. - remove windows execution, except for launcher. Ditto. I will probably bring them back.
19 lines
485 B
Bash
Executable File
19 lines
485 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2023 Uber Technologies, Inc.
|
|
# Licensed under the Apache License, Version 2.0
|
|
|
|
set -xeuo pipefail
|
|
|
|
echo "--- which zig"
|
|
ZIG=${ZIG:-$(tools/bazel run "$@" --run_under=echo @zig_sdk//:zig)}
|
|
|
|
echo "--- test toolchain/launcher.zig via wine64"
|
|
# ReleaseSafe because of https://github.com/ziglang/zig/issues/14036
|
|
$ZIG test \
|
|
-OReleaseSafe \
|
|
-target x86_64-windows-gnu \
|
|
--test-cmd wine64-stable \
|
|
--test-cmd-bin \
|
|
toolchain/launcher.zig
|