diff --git a/.github/actions/pregen/action.yml b/.github/actions/pregen/action.yml index 2c61be413ac..3c251432bff 100644 --- a/.github/actions/pregen/action.yml +++ b/.github/actions/pregen/action.yml @@ -11,10 +11,10 @@ runs: - name: Install jinja and protobuf run: python -m pip install jinja2 protobuf grpcio-tools shell: bash - - name: Install protobuf dependencies + - name: Install protobuf and perl dependencies run: | sudo apt-get update - sudo apt-get install -y protobuf-compiler + 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 @@ -45,6 +45,10 @@ runs: ./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 diff --git a/wpical/generate_mrcal.py b/wpical/generate_mrcal.py old mode 100644 new mode 100755 diff --git a/wpical/src/main/native/thirdparty/mrcal/src/minimath/minimath_generate.pl b/wpical/src/main/native/thirdparty/mrcal/src/minimath/minimath_generate.pl old mode 100644 new mode 100755