Ryan Blue
018dcaea4f
[ci] Check return code of subprocesses in pregen_all ( #7307 )
...
Previously errors were ignored.
Also makes the script more cross-platform by using the current python executable to run the subprocesses.
2024-10-28 18:07:30 -07:00
Tyler Veness
cbc9264468
[ci] Upgrade to wpiformat 2024.44 ( #7256 )
...
This makes the C identifier list scanner correctly handle single quotes
in numeric literals.
2024-10-22 17:19:12 -06:00
PJ Reiniger
36e0c9d6db
[build] MVP for building with bazel ( #6994 )
2024-10-19 09:54:49 -07:00
Peter Johnson
dcf5f55a30
[upstream_utils] Remove ConcurrentQueue ( #7183 )
...
It appears to be broken under stress testing (dropped/duplicate values).
This reverts commit 97c6c86f3b (#7066 ).
2024-10-10 23:41:41 -07:00
Ryan Blue
f856c05a08
[ci] Add no-cache build workflow to detect potential false-positive cache hits ( #7027 )
...
Duplicate of gradle.yml without docs, caching, and release configurations.
It's set up to run off-peak weekly.
2024-10-04 18:24:23 -07:00
Tyler Veness
8102516300
[ci] Upgrade to wpiformat 2024.42 ( #7165 )
2024-10-04 13:55:10 -06:00
Ryan Blue
bc6553cd2b
[ci] Fix cmake CI ( #7159 )
2024-10-03 18:22:39 -06:00
Jade
dced751a72
[ci] Merge Windows into CMake matrix ( #7153 )
2024-10-03 14:26:49 -06:00
Jade
a8a5d1609b
[build] Name CMake presets more consistently ( #7154 )
2024-10-03 13:29:27 -06:00
Gold856
64e5e6db59
[ci] Use one script to pregenerate everything ( #7121 )
...
A pregen_all Python script was added that calls all the other pregen scripts. This prevents the generated file checks and pregen command from falling out of sync. This is meant to only run in CI, since the script is not portable across platforms.
2024-09-23 11:54:59 -06:00
Tyler Veness
38e246c34f
[ci] Upgrade to wpiformat 2024.41 ( #7112 )
2024-09-20 18:41:33 -07:00
sciencewhiz
a884863f19
[ci] Fix RobotBuilder tools build ( #7107 )
...
Build more dependencies added by GradleRIO 2025 Alpha 2
2024-09-20 17:44:22 -07:00
Ryan Blue
32252f7d6a
[upstream_utils] Import argparse to wpiutil ( #7071 )
2024-09-12 20:10:43 -07:00
Ryan Blue
97c6c86f3b
[upstream_utils] Import ConcurrentQueue to wpiutil ( #7066 )
2024-09-10 23:12:22 -07:00
Peter Johnson
21cbb68465
[ci] Run expected.py as part of upstream-utils ( #7068 )
2024-09-10 19:56:15 -07:00
Ryan Blue
43c2409366
[ci] Add cmake cache repo to nightly cleanup ( #7059 )
2024-09-08 21:45:45 -07:00
Ryan Blue
5d68f0c11a
[ci] Fix CMake caching to Artifactory ( #7058 )
2024-09-08 20:51:25 -07:00
Ryan Blue
34e4587121
[ci] Move nightly cleanup task to monorepo ( #7050 )
2024-09-08 17:31:55 -07:00
Ryan Blue
7f6f19eef4
[ci] Use artifactory for sccache backend ( #7049 )
2024-09-07 22:21:56 -07:00
Sam Carlberg
a9b885070e
[wpiunits] Java units API rewrite ( #6958 )
...
Java generics are too limited to do what we need. This refactors generic code previously in Unit and Measure into unit-specific classes that can have unit-safe math operations (notably, times and divide) that can return values in known units instead of a wildcarded Measure<?>.
Unit-specific measure implementations are automatically generated by ./wpiunits/generate_units.py, which generates generic interfaces and mutable and immutable implementations of those interfaces. These make up the bulk of the diff of this PR (approximately 9300 LOC).
This also adds units for angular and linear velocities, accelerations, and momenta; moment of inertia; and torque.
2024-09-07 10:59:29 -07:00
Ryan Blue
2aef60d49c
[ci] Check for full repository name in actions ( #7038 )
...
This allows forks of allwpilib owned by wpilibsuite to exist without patching the workflows.
2024-09-07 10:53:23 -07:00
Ryan Blue
46e64e2dcb
[ci] Bump MACOSX_DEPLOYMENT_TARGET to 13.3 ( #7035 )
2024-09-07 10:52:41 -07:00
Ryan Blue
5f7b2aefb1
[ci] Check and free disk space on macos ( #7014 )
2024-08-29 06:30:17 -07:00
Jade
147e03ddd8
[build] CMake: Add CMakePresets.json for some common WPILib build settings ( #6974 )
2024-08-21 07:56:28 -07:00
Gold856
780b1e0391
[build] CMake: disable Java components by default ( #6975 )
2024-08-16 06:46:14 -07:00
Tyler Veness
4d7c9edab3
[ci] Upgrade to wpiformat 2024.40 ( #6969 )
2024-08-15 09:09:13 -07:00
Tyler Veness
050eafd802
[upstream_utils] Shorten file copy command ( #6965 )
...
The new upstream_utils command-line API has been nice, but the
copy-upstream-to-thirdparty command has been annoying to type. Since it
already has documentation, we can shorten it to make it easier to
remember and type.
2024-08-15 07:44:50 -07:00
Ryan Blue
244be83d5d
[ci] Disable check run and comments for robotbuilder CI ( #6890 )
...
It won't add them to PRs anyway because it doesn't have permissions, but the check run gets added to a random workflow in non-PR builds.
2024-08-01 16:44:16 -07:00
sciencewhiz
ad45dc89ef
[ci] Uniquely name Robot Builder test results ( #6895 )
2024-07-30 07:39:07 -07:00
Gold856
3e1e3fb4ca
[ci] Fix comment commands ( #6889 )
2024-07-29 07:54:17 -07:00
Gold856
6f6e8ee931
[ci] Bump wpiformat to 2024.39 ( #6894 )
2024-07-29 07:50:46 -07:00
Gold856
f142cec97b
[ci] Fix /pregen ( #6875 )
...
It checked out the main branch instead of the PR branch. Now it checks out the PR branch.
2024-07-28 10:50:24 -07:00
Jade
eda63dc162
[upstream_utils] Add AprilTag library ( #6816 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-07-20 22:12:49 -07:00
PJ Reiniger
6922b9dd5e
[upstream_utils] Add imgui and friends ( #6822 )
2024-07-20 22:11:54 -07:00
Tyler Veness
d827c84c5e
[upstream_utils] Clean up package imports ( #6857 )
2024-07-20 07:01:06 -07:00
PJ Reiniger
f561a77e75
[upstream_utils] Add googletest ( #6820 )
2024-07-18 21:10:26 -07:00
Joseph Eng
5f261a88af
[upstream_utils] Rework upstream_utils scripts ( #6829 )
2024-07-16 17:20:07 -07:00
sciencewhiz
fc57f6a560
[ci] Filter python commands comment only for Java sources ( #6832 )
...
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com >
2024-07-15 14:51:10 -07:00
Jade
b4645a30f6
[ci] Add /pregen to pregenerate files ( #6786 )
2024-07-05 17:43:50 -07:00
sciencewhiz
ba210fb560
[ci] Add dispatch to tag RobotBuilder ( #6794 )
2024-07-05 17:43:06 -07:00
sciencewhiz
a2beb7510b
[ci] Add dispatch to tag PathWeaver and Shuffleboard ( #6788 )
2024-06-29 13:58:09 -07:00
sciencewhiz
88658fb30b
[ci] Patch tools builds to only use local artifacts ( #6787 )
2024-06-29 12:30:21 -07:00
sciencewhiz
8e97587765
[ci] Update tools build year to 2025 ( #6783 )
...
Fixes robotbuilder build that failed after 2025 alpha tag
2024-06-28 20:16:48 -07:00
Ryan Blue
5e745bc5ef
[ci] Add spotless diff to summary and artifacts ( #6779 )
2024-06-28 06:29:21 -07:00
Gold856
76a3a60712
[ci] Bump actions versions to Node 20 ( #6758 )
...
Bump webfactory/ssh-agent to 0.9.0 (Node 20)
Switch to gradle/actions/wrapper-validation (Node 20)
Bump mozilla-actions/sccache-action to 0.0.5 (Node 20 for sanitizers only)
Bump actions/github-script to 7 (Node 20 for documentation only)
Bump wpilibsuite/import-signing-certificate to 2 (Node 20)
Bump JamesIves/github-pages-deploy-action to 4.6.1 (Node 20)
2024-06-21 20:53:51 -07:00
sciencewhiz
f5df6f88c8
[ci] Add dispatch actions task to ping tools on tag ( #6755 )
...
Allows automation of tagging of tools on allwpilib tag
Adapted from robotpy
2024-06-21 17:15:42 -07:00
Gold856
7f5970b27a
[ci] Remove unused steps/package installs ( #6756 )
...
Removed steps/packages were used for protobuf/generated files
2024-06-21 11:15:42 -07:00
PJ Reiniger
b6bd798f9e
[wpilib] Pregenerate PWM motor controllers ( #6742 )
...
Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com >
2024-06-18 08:43:08 -06:00
PJ Reiniger
66c0abb732
[build] Use pathlib in pre-generation scripts ( #6745 )
2024-06-18 08:40:37 -06:00
Gold856
b9935c9885
[ci] Fix robotpy PR commenting ( #6723 )
2024-06-09 06:37:30 -07:00