Skip to content

upadte gpt5

upadte gpt5 #72

Workflow file for this run

name: "Build RuntipiOS"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Maximize build disk space
uses: easimon/maximize-build-space@master
with:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
wget \
xz-utils \
gzip \
zstd \
qemu-user-static \
binfmt-support \
debootstrap \
parted \
kpartx \
dosfstools \
e2fsprogs
- name: Make scripts executable
run: |
chmod +x ./build.sh
chmod +x ./platforms/*/build-*.sh
chmod +x ./scripts/*.sh
chmod +x ./platforms/common/overlays/usr/local/bin/*
chmod +x ./platforms/common/overlays/var/www/cgi-bin/*
ls -la build.sh
- name: Build RuntipiOS for Raspberry Pi 5
run: sudo ./build.sh rpi5
- name: Package artifacts
run: |
mkdir -p artifacts
cp -v output/*.img.* artifacts/ || true
ls -lh artifacts/
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: runtipios-images
path: artifacts/*.img.*
retention-days: 7