Support optimizing (shrinking) bootable partitions on images with GPT… #210
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
name: Test partitions | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'releases/**' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Free space as nvidia image is huge | |
run: | | |
sudo rm -rf /usr/share/dotnet | |
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | |
- uses: actions/checkout@v4 | |
- uses: ./ # pguyot/arm-runner-action@HEAD | |
with: | |
base_image: https://developer.nvidia.com/embedded/L4T/r35_Release_v1.0/JP_SD_5.0.2_b231/Jetson_SD_Xavier_NX/JP502-xnx-sd-card-image-b231.zip | |
cpu: cortex-a53 | |
bootpartition: | |
rootpartition: 1 | |
commands: | | |
cat /etc/os-release | |
uname -a | |
host github.com |