mirror of
https://github.com/armbian/sdk.git
synced 2026-01-06 11:08:52 -08:00
40 lines
1.7 KiB
YAML
40 lines
1.7 KiB
YAML
name: "Build Armbian"
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 3 * * *' # Scheduled runs every day at 3am UTC
|
|
|
|
jobs:
|
|
|
|
Keep:
|
|
name: "Keep alive"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# prevent GitHub from suspending cronjob
|
|
- uses: gautamkrishnar/keepalive-workflow@v1
|
|
|
|
Matrix:
|
|
needs: Keep
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
board: [uefi-x86,uefi-arm64]
|
|
os: ["jammy"]
|
|
extension: [",image-output-qcow2",""]
|
|
|
|
name: "${{ matrix.os }},${{ matrix.board }}${{ matrix.extension }}"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- uses: igorpecovnik/build@main # #uses: armbian/build@AR-1459
|
|
with:
|
|
armbian_token: "${{ secrets.GITHUB_TOKEN }}" # GitHub installation access token
|
|
armbian_target: "armbian-images" # build configuration from userpatches
|
|
armbian_kernel_branch: "current" # branch: legacy, current, edge, etc.
|
|
armbian_branch: "main" # build framework branch
|
|
armbian_release: "${{ matrix.os }}" # userspace: jammy, bookworm, trixie, etc.
|
|
armbian_board: "${{ matrix.board }}" # build target from https://github.com/armbian/build/tree/main/config/boards
|
|
armbian_ui: "minimal" # minimal, server, xfce, gnome, etc.
|
|
armbian_compress: "sha,img,xz" # compression method: sha,img,xz
|
|
armbian_extensions: "docker-ce,sdk${{ matrix.extension }}" # enable extensions
|