-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into imgui-bounds-checking
- Loading branch information
Showing
3,405 changed files
with
419,434 additions
and
57,615 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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,51 @@ | ||
try-import %workspace%/bazel_auth.rc | ||
try-import %workspace%/user.bazelrc | ||
|
||
common --noenable_bzlmod | ||
|
||
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 | ||
|
||
import shared/bazel/compiler_flags/sanitizers.rc | ||
import shared/bazel/compiler_flags/base_linux_flags.rc | ||
import shared/bazel/compiler_flags/linux_flags.rc | ||
import shared/bazel/compiler_flags/osx_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 Buddy Cache Setup | ||
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 | ||
|
||
common: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 --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 |
---|---|---|
@@ -1,12 +1,30 @@ | ||
*.adoc text eol=lf | ||
*.c text eol=lf | ||
*.cmake text eol=lf | ||
*.clang-format text eol=lf | ||
*.clang-tidy text eol=lf | ||
*.cpp text eol=lf | ||
*.gradle text eol=lf | ||
*.groovy text eol=lf | ||
*.h text eol=lf | ||
*.hpp text eol=lf | ||
*.in text eol=lf | ||
*.inc text eol=lf | ||
*.java text eol=lf | ||
*.jinja text eol=lf | ||
*.json text eol=lf | ||
*.m text eol=lf | ||
*.md text eol=lf | ||
*.mm text eol=lf | ||
*.patch text eol=lf | ||
*.plist text eol=lf | ||
*.proto text eol=lf | ||
*.py text eol=lf | ||
*.styleguide text eol=lf | ||
*.txt text eol=lf | ||
*.xml text eol=lf | ||
*.yaml text eol=lf | ||
*.yml text eol=lf | ||
|
||
# Generated files | ||
*/src/generated/** linguist-generated |
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
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
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
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,65 @@ | ||
name: 'Setup and run pregeneration' | ||
description: 'Sets up the dependencies needed to generate generated files and runs all generation scripts' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Set up Python 3.12 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
- name: Install jinja and protobuf | ||
run: python -m pip install jinja2 protobuf grpcio-tools | ||
shell: bash | ||
- name: Install protobuf and perl dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y protobuf-compiler liblist-moreutils-perl | ||
wget https://github.com/HebiRobotics/QuickBuffers/releases/download/1.3.3/protoc-gen-quickbuf-1.3.3-linux-x86_64.exe | ||
chmod +x protoc-gen-quickbuf-1.3.3-linux-x86_64.exe | ||
shell: bash | ||
- name: Regenerate hal | ||
run: ./hal/generate_usage_reporting.py | ||
shell: bash | ||
|
||
- name: Regenerate ntcore | ||
run: ./ntcore/generate_topics.py | ||
shell: bash | ||
|
||
- name: Regenerate imgui | ||
run: | | ||
./thirdparty/imgui_suite/generate_fonts.sh | ||
./thirdparty/imgui_suite/generate_gl3w.py | ||
shell: bash | ||
|
||
- name: Regenerate HIDs | ||
run: | | ||
./wpilibc/generate_hids.py | ||
./wpilibj/generate_hids.py | ||
./wpilibNewCommands/generate_hids.py | ||
shell: bash | ||
|
||
- name: Regenerate PWM motor controllers | ||
run: | | ||
./wpilibc/generate_pwm_motor_controllers.py | ||
./wpilibj/generate_pwm_motor_controllers.py | ||
shell: bash | ||
|
||
- name: Regenerate mrcal minimath | ||
run: ./wpical/generate_mrcal.py | ||
shell: bash | ||
|
||
- name: Regenerate wpimath | ||
run: | | ||
./wpimath/generate_nanopb.py | ||
./wpimath/generate_numbers.py | ||
./wpimath/generate_quickbuf.py --quickbuf_plugin protoc-gen-quickbuf-1.3.3-linux-x86_64.exe | ||
shell: bash | ||
|
||
- name: Regenerate wpiunits | ||
run: ./wpiunits/generate_units.py | ||
shell: bash | ||
|
||
- name: Regenerate wpiutil nanopb | ||
run: ./wpiutil/generate_nanopb.py | ||
shell: bash |
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 --config=build_buddy_readonly" > 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 |
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,56 @@ | ||
'2027': | ||
- base-branch: '2027' | ||
'component: apriltag': | ||
- changed-files: | ||
- any-glob-to-any-file: apriltag/** | ||
'component: command-based': | ||
- changed-files: | ||
- any-glob-to-any-file: wpilibNewCommands/** | ||
'component: cscore': | ||
- changed-files: | ||
- any-glob-to-any-file: cscore/** | ||
'component: datalogtool': | ||
- changed-files: | ||
- any-glob-to-any-file: datalogtool/** | ||
'component: epilogue': | ||
- changed-files: | ||
- any-glob-to-any-file: epilogue-*/** | ||
'component: examples': | ||
- changed-files: | ||
- any-glob-to-any-file: wpilib*Examples/** | ||
'component: glass': | ||
- changed-files: | ||
- any-glob-to-any-file: glass/** | ||
'component: hal': | ||
- changed-files: | ||
- any-glob-to-any-file: hal/** | ||
'component: ntcore': | ||
- changed-files: | ||
- any-glob-to-any-file: ntcore/** | ||
'component: outlineviewer': | ||
- changed-files: | ||
- any-glob-to-any-file: outlineviewer/** | ||
'component: sysid': | ||
- changed-files: | ||
- any-glob-to-any-file: sysid/** | ||
'component: teamnumbersetter': | ||
- changed-files: | ||
- any-glob-to-any-file: roborioteamnumbersetter/** | ||
'component: wpilibc': | ||
- changed-files: | ||
- any-glob-to-any-file: wpilibc/** | ||
'component: wpilibj': | ||
- changed-files: | ||
- any-glob-to-any-file: wpilibj/** | ||
'component: wpimath': | ||
- changed-files: | ||
- any-glob-to-any-file: wpimath/** | ||
'component: wpinet': | ||
- changed-files: | ||
- any-glob-to-any-file: wpinet/** | ||
'component: wpiunits': | ||
- changed-files: | ||
- any-glob-to-any-file: wpiunits/** | ||
'component: wpiutil': | ||
- changed-files: | ||
- any-glob-to-any-file: wpiutil/** |
23 changes: 23 additions & 0 deletions
23
.github/workflows/aql/wpilib-generic-gradle-cache_unused.aql
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,23 @@ | ||
{ | ||
"files": [ | ||
{ | ||
"aql": { | ||
"items.find": { | ||
"$or":[ | ||
{ "repo": "wpilib-generic-gradlecache" }, | ||
{ "repo": "wpilib-generic-cache-cmake" } | ||
], | ||
"$or":[ | ||
{ | ||
"stat.downloaded": { "$before":"1mo" } | ||
}, | ||
{ | ||
"stat.downloaded": { "$eq":null } | ||
} | ||
], | ||
"created": { "$before":"1mo" } | ||
} | ||
} | ||
} | ||
] | ||
} |
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,29 @@ | ||
{ | ||
"files": [ | ||
{ | ||
"aql": { | ||
"items.find": { | ||
"repo": "wpilib-mvn-development", | ||
"path": { "$nmatch":"*edu/wpi/first/thirdparty*" }, | ||
"$or":[ | ||
{ | ||
"artifact.module.build.name": { "$eq":"allwpilib" } | ||
}, | ||
{ | ||
"artifact.module.build.name": { "$eq":"combiner" } | ||
} | ||
], | ||
"$or":[ | ||
{ | ||
"stat.downloaded": { "$before":"3mo" } | ||
}, | ||
{ | ||
"stat.downloaded": { "$eq":null } | ||
} | ||
], | ||
"created": { "$before":"3mo" } | ||
} | ||
} | ||
} | ||
] | ||
} |
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,31 @@ | ||
name: Artifactory Nightly Cleanup | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
wpilib-mvn-development_unused_cleanup: | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'wpilibsuite/allwpilib' && github.ref == 'refs/heads/main' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: jfrog/setup-jfrog-cli@v4 | ||
env: | ||
JF_ENV_1: ${{ secrets.ARTIFACTORY_CLI_SECRET }} | ||
- name: Cleanup | ||
run: jf rt del --spec=.github/workflows/aql/wpilib-mvn-development_unused.aql | ||
|
||
wpilib-generic-gradle-cache_unused_cleanup: | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'wpilibsuite/allwpilib' && github.ref == 'refs/heads/main' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: jfrog/setup-jfrog-cli@v4 | ||
env: | ||
JF_ENV_1: ${{ secrets.ARTIFACTORY_CLI_SECRET }} | ||
- name: Cleanup | ||
run: jf rt del --spec=.github/workflows/aql/wpilib-generic-gradle-cache_unused.aql |
Oops, something went wrong.