What do you think of this rule to have a constraint to only be built on the platforms it can actually be built in? I believe wix toolset only works on Windows, at least until wixtoolset/issues#4381
If I use this rule as is, my build will always fail on a non-Windows build agent.
If you agree we need to do this, then we can figure out how to do this, from the documentation:
https://docs.bazel.build/versions/master/be/platform.html
I guess in the meanwhile a workaround can be to use a build target constraint with target_compatible_with as in the Bazel documentation https://docs.bazel.build/versions/master/platforms.html#skipping-incompatible-targets
What do you think of this rule to have a constraint to only be built on the platforms it can actually be built in? I believe wix toolset only works on Windows, at least until wixtoolset/issues#4381
rules_wix/rules.bzl
Line 50 in 90b9ccd
If I use this rule as is, my build will always fail on a non-Windows build agent.
If you agree we need to do this, then we can figure out how to do this, from the documentation:
https://docs.bazel.build/versions/master/be/platform.html
I guess in the meanwhile a workaround can be to use a build target constraint with target_compatible_with as in the Bazel documentation https://docs.bazel.build/versions/master/platforms.html#skipping-incompatible-targets