Skip to content

Native-arm-runner-action#97

Merged
crschardt merged 29 commits intoPhotonVision:mainfrom
crschardt:native-arm-runner-action
Nov 25, 2025
Merged

Native-arm-runner-action#97
crschardt merged 29 commits intoPhotonVision:mainfrom
crschardt:native-arm-runner-action

Conversation

@crschardt
Copy link
Contributor

@crschardt crschardt commented Nov 21, 2025

Utilize the photon-image-runner action to build images. Once this is validated, we can use the same action for modifying the images in photonvision and photon-libcamera-gl-driver workflows.

Improvements in this PR:

  • Like Use GitHub arm runner to build all images #95, this uses the GitHub arm runner to greatly speed up image build times.
  • Images specified by a yaml file, like the RubikPi3, are handled correctly.
  • A PhotonVision release can be specified in the workflow, which allows images to be built with releases other than latest.
  • The action implements an option to specify the minimum free space needed in the image. This should prevent repeated increases in the size of an image if it can't be shrunk by the action.
  • Several minor problems were fixed, including
    • CIDATA partition is properly mounted on OrangePi
    • Version information is added by install_common.sh
    • Empty space is zero filled on all images for better compression
    • No more log spam from Dpkg

Supersedes #95

@crschardt crschardt force-pushed the native-arm-runner-action branch 6 times, most recently from 44ccee6 to d41adf1 Compare November 22, 2025 00:58
@crschardt crschardt force-pushed the native-arm-runner-action branch from d41adf1 to 3b35512 Compare November 22, 2025 03:00
@crschardt
Copy link
Contributor Author

Images from 3b35512 work on a RaspberryPi 4 and an OrangePi 5 with an OV9281 USB camera. We still need to test on a LimeLight or a Raspberry Pi with a CSI camera.

@crschardt crschardt force-pushed the native-arm-runner-action branch 3 times, most recently from e97798e to 42038ee Compare November 23, 2025 20:45
@crschardt crschardt force-pushed the native-arm-runner-action branch from 42038ee to c532e49 Compare November 23, 2025 21:03
@samfreund
Copy link
Member

works w/ rubik

@crschardt crschardt marked this pull request as ready for review November 24, 2025 18:08
@crschardt
Copy link
Contributor Author

Verified working on a RPi4 (@crschardt), OPi5 (@crschardt), RubikPi3 (@samfreund), and LL (@spacey-sooty).

@crschardt crschardt merged commit ae662c5 into PhotonVision:main Nov 25, 2025
49 of 51 checks passed
@crschardt crschardt deleted the native-arm-runner-action branch November 25, 2025 03:12
crschardt added a commit that referenced this pull request Nov 26, 2025
#97 included a "dummy" rubikpi3 job to satisfy the required check. The
check has been removed, so it is no longer needed.
crschardt added a commit that referenced this pull request Nov 29, 2025
This PR corrects a typo in #97.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants