SPIRV-Tools/kokoro
IcyTv 98dce6ca18
Fixed Bazel Windows build (#4736)
* Fixed Bazel Windows build

Before this commit, the bazel build setup would not work on windows.
This is due to the fact, that genrule tries to use bash, which fails.
One fix would be to use bazel-skylib's run_binary.
This however does not work (easily) since genrules is more complex.

To (temporarily) fix the windows build, I added the `cmd_bat` property to every genrule.
This seems more like a hack, because it basically repeat commands,
 but for now it at least builds on windows.

* Removed BAZEL_SH from bazel presubmit build script

Thanks to @s-perron for pointing out, that the presubmit script uses the msys64 bash shell for the bazel build.
Since adding the `cmd_bat` argument removes the dependency on bash, this is no longer needed.
2022-03-07 12:50:19 -05:00
..
android Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
check-format Fix clang-format-diff.py URL (#4233) 2021-04-09 23:36:36 +01:00
img Enable Kokoro buildbots. (#1625) 2018-07-06 13:01:22 -04:00
linux-clang-asan Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
linux-clang-debug Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
linux-clang-release Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
linux-clang-release-bazel Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
linux-clang-ubsan Add UBSan kokoro configuration (#4512) 2021-09-10 12:53:09 +00:00
linux-gcc-debug Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
linux-gcc-release Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
macos-clang-debug [spirv] Package and upload builds. (#2544) 2019-05-02 14:25:09 -04:00
macos-clang-release [spirv] Package and upload builds. (#2544) 2019-05-02 14:25:09 -04:00
macos-clang-release-bazel Use bazel 5 for bazel builds. (#4738) 2022-03-03 15:35:25 +00:00
ndk-build Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
scripts Use bazel 5 for bazel builds. (#4738) 2022-03-03 15:35:25 +00:00
shaderc-smoketest Migrate all Kokoro build scripts over to use the docker VM image (#4114) 2021-01-18 13:36:26 -05:00
windows-msvc-2013-release Remove VS2013 kokoro build (#4314) 2021-06-03 16:16:37 -04:00
windows-msvc-2015-release Enable Kokoro buildbots. (#1625) 2018-07-06 13:01:22 -04:00
windows-msvc-2015-release-bazel Fixed Bazel Windows build (#4736) 2022-03-07 12:50:19 -05:00
windows-msvc-2017-debug [spirv] Package and upload builds. (#2544) 2019-05-02 14:25:09 -04:00
windows-msvc-2017-release [spirv] Package and upload builds. (#2544) 2019-05-02 14:25:09 -04:00