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.
32 lines
729 B
Python
32 lines
729 B
Python
# Copyright 2023 Uber Technologies, Inc.
|
|
# Licensed under the Apache License, Version 2.0
|
|
|
|
load("@bazel-zig-cc//rules:platform.bzl", "platform_binary", "platform_test")
|
|
|
|
cc_binary(
|
|
name = "winver",
|
|
srcs = ["main.c"],
|
|
tags = ["manual"],
|
|
)
|
|
|
|
# TODO(motiejus): bring back windows tests, not only builds
|
|
#platform_test(
|
|
# name = "winver_windows_amd64",
|
|
# src = "winver",
|
|
# platform = "//platform:windows_amd64",
|
|
# run_under = "wine64-stable",
|
|
# tags = ["no-sandbox"],
|
|
#)
|
|
|
|
platform_binary(
|
|
name = "winver_windows_amd64",
|
|
src = "winver",
|
|
platform = "//platform:windows_amd64",
|
|
)
|
|
|
|
platform_binary(
|
|
name = "winver_windows_arm64",
|
|
src = "winver",
|
|
platform = "//platform:windows_arm64",
|
|
)
|