1

added Windows target testing

This commit is contained in:
Fabian Hahn
2022-05-29 17:35:18 +01:00
committed by Motiejus Jakštys
parent 72475ee012
commit 6f2ae838cd
6 changed files with 63 additions and 6 deletions

14
ci/test
View File

@@ -1,3 +1,13 @@
#!/bin/sh
#!/bin/bash
set -euo pipefail
exec bazel test ...
bazel test ...
# Windows tests
# Unfortunately wine-binfmt breaks within the bazel sandbox, so we disable it
# to run this test.
bazel test //test/c:winver_windows_amd64 \
--spawn_strategy=standalone
# There is no no easy way to run windows_arm64 binaries on Linux, so we just
# cross compile one for testing.
bazel build //test/c:winver_windows_arm64