forked from wpilibsuite/allwpilib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1288501
commit 079a11c
Showing
123 changed files
with
13,318 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
build_cmake | ||
build-cmake | ||
|
||
# Auto generated by vscode | ||
apriltag/bin | ||
cameraserver/bin | ||
cameraserver/multiCameraServer/bin | ||
cscore/bin | ||
fieldImages/bin | ||
hal/bin | ||
developerRobot/bin | ||
ntcore/bin | ||
romiVendordep/bin | ||
wpilibNewCommands/bin | ||
wpilibj/bin | ||
wpimath/bin | ||
wpinet/bin | ||
wpiutil/bin | ||
wpiunits/bin | ||
xrpVendordep/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
try-import %workspace%/bazel_auth.rc | ||
try-import %workspace%/user.bazelrc | ||
|
||
build --java_language_version=17 | ||
build --java_runtime_version=roboriojdk_17 | ||
build --tool_java_language_version=17 | ||
build --tool_java_runtime_version=remotejdk_17 | ||
|
||
test --test_output=errors | ||
test --test_verbose_timeout_warnings | ||
|
||
common --lockfile_mode=update | ||
common --registry=https://raw.githubusercontent.com/pjreiniger/bazel-central-registry/bzlmodrio/ | ||
|
||
import shared/bazel/compiler_flags/sanitizers.rc | ||
import shared/bazel/compiler_flags/base_linux_flags.rc | ||
import shared/bazel/compiler_flags/bullseye32_flags.rc | ||
import shared/bazel/compiler_flags/bullseye64_flags.rc | ||
import shared/bazel/compiler_flags/linux_flags.rc | ||
import shared/bazel/compiler_flags/osx_flags.rc | ||
import shared/bazel/compiler_flags/raspbian_flags.rc | ||
import shared/bazel/compiler_flags/roborio_flags.rc | ||
import shared/bazel/compiler_flags/windows_flags.rc | ||
import shared/bazel/compiler_flags/coverage_flags.rc | ||
|
||
build:build_java --test_tag_filters=allwpilib-build-java --build_tag_filters=allwpilib-build-java | ||
build:build_cpp --test_tag_filters=+allwpilib-build-cpp --build_tag_filters=+allwpilib-build-cpp | ||
build:no_example --test_tag_filters=-wpi-example --build_tag_filters=-wpi-example | ||
test:no_example --test_tag_filters=-wpi-example --build_tag_filters=-wpi-example | ||
|
||
build:build_buddy --bes_results_url=https://app.buildbuddy.io/invocation/ | ||
build:build_buddy --bes_backend=grpcs://remote.buildbuddy.io | ||
build:build_buddy --remote_cache=grpcs://remote.buildbuddy.io | ||
build:build_buddy --remote_timeout=3600 | ||
|
||
# Additional suggestions from buildbuddy for speed | ||
build:build_buddy --experimental_remote_cache_compression | ||
build:build_buddy --experimental_remote_cache_compression_threshold=100 | ||
build:build_buddy --noslim_profile | ||
build:build_buddy --experimental_profile_include_target_label | ||
build:build_buddy --experimental_profile_include_primary_output | ||
build:build_buddy --nolegacy_important_outputs | ||
|
||
build:build_buddy_readonly --noremote_upload_local_results | ||
|
||
# This config should be used locally. It downloads more than the CI version | ||
build:remote_user --config=build_buddy | ||
build:remote_user --config=build_buddy_readonly | ||
build:remote_user --remote_download_toplevel | ||
|
||
build:ci --config=build_buddy | ||
build:ci --remote_download_minimal | ||
|
||
build:local_remote --config=build_buddy | ||
build:local_remote --remote_download_toplevel # Helps remove network bottleneck if caching is enabled | ||
|
||
build --proto_toolchain_for_cc=//:proto_cc_toolchain | ||
|
||
build --build_metadata=REPO_URL=https://github.com/wpilibsuite/allwpilib.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: 'Setup BuildBuddy acache' | ||
description: 'Sets up the build buddy cache to be readonly / writing based on the presence of environment variables' | ||
|
||
inputs: | ||
token: | ||
description: 'Build Buddy API token' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup without key | ||
env: | ||
API_KEY: ${{ inputs.token }} | ||
if: ${{ env.API_KEY == '' }} | ||
shell: bash | ||
run: | | ||
echo "No API key secret detected, will setup readonly cache" | ||
# echo "build:ci --noremote_upload_local_results" > bazel_auth.rc | ||
- name: Set with key | ||
env: | ||
API_KEY: ${{ inputs.token }} | ||
if: ${{ env.API_KEY != '' }} | ||
shell: bash | ||
run: | | ||
echo "API Key detected!" | ||
# echo "build:build_buddy --remote_header=x-buildbuddy-api-key=${{ env.API_KEY }}" > bazel_auth.rc |
Oops, something went wrong.