Skip to content

Commit 91b4264

Browse files
committed
Corrections to presubmit.yml
The project's .bazelrc does not apply in BCR checks, so the values contained are now given as build_flag(s)
1 parent 5d1b78d commit 91b4264

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

presubmit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ tasks:
1616
- ./kerl install ${ERLANG_VERSION} ~/kerl/${ERLANG_VERSION}
1717
- |
1818
ERLANG_HOME="$(realpath ~/kerl/${ERLANG_VERSION})"
19-
cat << EOF >> user.bazelrc
19+
cat << EOF >> .bazelrc
2020
build --@rules_erlang//:erlang_version=${ERLANG_VERSION}
2121
build --@rules_erlang//:erlang_home=${ERLANG_HOME}
2222
EOF
2323
build_flags:
24+
- --incompatible_strict_action_env
2425
- --extra_toolchains=@rules_erlang//:erlang_toolchain_external
26+
- --platforms=@rules_erlang//platforms:erlang_external_platform
27+
- --extra_execution_platforms=@rules_erlang//platforms:erlang_external_platform
2528
build_targets:
2629
- '@rules_erlang//...'

0 commit comments

Comments
 (0)