Skip to content

Commit

Permalink
update workflow & add userpatch
Browse files Browse the repository at this point in the history
  • Loading branch information
pykpkg47 committed Sep 5, 2024
1 parent 82f3ff1 commit e0fe48c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
32 changes: 23 additions & 9 deletions .github/workflows/complete-artifact-one-by-one.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

name: "Build One by One (anyone)"
on:
workflow_dispatch:
Expand All @@ -10,13 +11,15 @@ on:
options:
- kernel
- build
- u-boot
default: build

armbian_kernel_branch:
type: choice
description: 'Kernel branch'
options:
- legacy
- vendor
- current
- edge
default: 'current'
Expand All @@ -26,10 +29,8 @@ on:
description: 'Userspace'
options:
- jammy
- mantic
- noble
- bookworm
- trixie
- sid
default: 'jammy'

armbian_ui:
Expand Down Expand Up @@ -286,22 +287,35 @@ on:
- xiaomi-elish
- xiaomi-umi
- zeropi

jobs:

build:


name: "Build Armbian"
runs-on: ubuntu-latest
steps:
steps:

- name: install missing f2fs and nilfs kernel modules
run: sudo apt update && sudo apt -y install linux-modules-extra-$(uname -r )

- uses: armbian/[email protected]
- name: Run Armbian Build system
uses: armbian/[email protected]
with:
armbian_token: "${{secrets.GITHUB_TOKEN}}"
armbian_target: "${{inputs.armbian_target}}"
armbian_release: "${{inputs.armbian_release}}"
armbian_kernel_branch: "${{inputs.armbian_kernel_branch}}"
armbian_ui: "${{inputs.armbian_ui}}"
armbian_board: "${{inputs.armbian_board}}"
armbian_release_tittle: "Armbian SDK"
armbian_release_body: "Virtual images for x86 and arm64"
armbian_pgp_key: "${{secrets.GPG_KEY1}}"
armbian_pgp_password: "${{secrets.GPG_PASSPHRASE1}}"
armbian_branch: "${{inputs.armbian_version}}"
armbian_artifacts: "${{inputs.armbian_target == 'kernel' && 'build/output/debs/' || inputs.armbian_target =='u-boot' && 'build/output/debs/' || 'build/output/images/'}}"
armbian_release_tittle: "Armbian image release for ${{inputs.armbian_board}}"
armbian_release_body: " kernel:${{inputs.armbian_kernel_branch}} \n distro: ${{inputs.armbian_release}} \n UI: ${{inputs.armbian_ui}} "

- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 150

Empty file added userpatches/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions userpatches/lib.config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IMAGE_XZ_COMPRESSION_RATIO="9"

0 comments on commit e0fe48c

Please sign in to comment.