diff options
author | Fabian Meumertzheim <meumertzheim@code-intelligence.com> | 2021-08-09 10:17:34 +0200 |
---|---|---|
committer | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-08-09 10:25:46 +0200 |
commit | 63071a7f31170b9b4ec0f3173d5c91653261188b (patch) | |
tree | 3b6455d5f3203e15747a91c25517d7a0da2f8a8e /.bazelrc | |
parent | 0d4d6188bbdbb3dd52367f7082ee1dc5d6fd0a0e (diff) | |
download | jazzer-api-63071a7f31170b9b4ec0f3173d5c91653261188b.tar.gz |
Do not use toolchain in CI
Using the toolchain in the CI tests means that we are no longer catching
potential OSS-Fuzz build issues (see previous commit). Restrict the use
of the toolchain to the new and currently unused release config, as well
as local Maven publishing.
Also restructures some other flags in .bazelrc.
Diffstat (limited to '.bazelrc')
-rw-r--r-- | .bazelrc | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -4,6 +4,7 @@ build -c opt # C/C++ build --cxxopt='-std=c++17' build --action_env=CC=clang +build --incompatible_enable_cc_toolchain_resolution # Requires a relatively modern clang. build:ci --features=layering_check @@ -12,18 +13,21 @@ build --java_language_version=8 build --tool_java_language_version=9 # Toolchain -build:toolchain --incompatible_enable_cc_toolchain_resolution build:toolchain --extra_toolchains=@llvm_toolchain//:cc-toolchain-linux,@llvm_toolchain//:cc-toolchain-darwin build:toolchain --//third_party:toolchain -# RBE -build:ci --config=toolchain +# CI tests (not using the toolchain to test OSS-Fuzz compatibility) build:ci --bes_results_url=https://app.buildbuddy.io/invocation/ build:ci --bes_backend=grpcs://cloud.buildbuddy.io build:ci --remote_cache=grpcs://cloud.buildbuddy.io build:ci --remote_timeout=3600 -# Maven publishing +# Release +build:release --config=toolchain +build:release --config=ci + +# Maven publishing (local only, requires GPG signature) +build:maven --config=toolchain build:maven --stamp build:maven --define "maven_repo=https://oss.sonatype.org/service/local/staging/deploy/maven2" build:maven --java_runtime_version=localjdk_8 |