Skip to content

Commit 50fd03e

Browse files
committed
Make use of toolchain for all builds
1 parent 58e33bd commit 50fd03e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.bazelrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ common --//score/datarouter/build_configuration_flags:enable_dynamic_configurati
3434
common --//score/datarouter/build_configuration_flags:file_transfer=False
3535
common --//score/datarouter/build_configuration_flags:use_local_vlan=True
3636

37+
common --extra_toolchains=@score_gcc_x86_64_toolchain//:x86_64-linux-gcc_12.2.0-posix
38+
common --extra_toolchains=@score_toolchains_rust//toolchains/ferrocene:ferrocene_x86_64_unknown_linux_gnu
39+
3740
common:linux_x86_64_gcc --platforms=@score_bazel_platforms//:x86_64-linux-gcc_12.2.0-posix
38-
common:linux_x86_64_gcc --extra_toolchains=@score_gcc_x86_64_toolchain//:x86_64-linux-gcc_12.2.0-posix
39-
common:linux_x86_64_gcc --extra_toolchains=@score_toolchains_rust//toolchains/ferrocene:ferrocene_x86_64_unknown_linux_gnu
4041

4142
# Base QNX config (shared flags)
4243
common:qnx --credential_helper=*.qnx.com=%workspace%/scripts/internal/qnx_creds.py

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
- name: Run Tests via Bazel
4040
run: |
4141
echo "Running: bazel test //score/..."
42-
bazel test //score/...
42+
bazel test --config x86_64-linux //score/...

0 commit comments

Comments
 (0)