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
Tyler Veness
72ae751b9a
[ci] Fix PathWeaver name typo ( #6717 )
2024-06-08 11:58:45 -07:00
Gold856
65c6306047
[wpilib,commands] Use Jinja to generate HID classes ( #6274 )
2024-06-08 09:59:07 -07:00
sciencewhiz
a0efc9ca31
[ci] Add workflow to build java tools for PRs ( #6698 )
...
This can catch breaking changes earlier.
- Builds linux only for speed
- Builds and publishes artifacts in this file as it was actually faster
then reusing the artifacts from the gradle file as those need the
combiner run on them. It uploads the artifacts to Actions with a 1 day
retention, because that allows the tools to be built in parallel, which
overall sped things up. This also only allows relevant tasks in wpilib
to be run
- The tool builds are uploaded with a shorter retention time in case
someone wants to do more extensive tests.
2024-06-08 09:55:07 -07:00
Gold856
1c884b2260
[ci] Use the comment command token for robotpy comment action ( #6711 )
2024-06-07 16:15:30 -07:00
Gold856
5b94421b5a
[ci] Fix permissions for commenting on commands PRs ( #6708 )
2024-06-06 10:39:58 -07:00
sciencewhiz
38ee6476f2
[ci] Update cmake actions to node 20 versions ( #6692 )
2024-06-02 21:00:43 -07:00