From 3e0ead54e87078efd565abb808f051c013146e52 Mon Sep 17 00:00:00 2001 From: Alexey Minnekhanov Date: Thu, 1 Aug 2024 15:27:25 +0300 Subject: [PATCH] begin work on pmb part --- .github/workflows/build-images.yml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 7a06a42ab76247..e89e6250050a8e 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -17,8 +17,10 @@ jobs: echo "GITHUB_BASE_REF: $GITHUB_BASE_REF" echo "GITHUB_HEAD_REF: $GITHUB_HEAD_REF" echo "GITHUB_REF: $GITHUB_REF" - echo "GITHUB_REF_NAME: $GITHUB_REF_NAME" - pmbootstrap --version + - name: Update ubuntu packages + run: | + sudo env DEBIAN_FRONTEND=noninteractive apt update + sudo env DEBIAN_FRONTEND=noninteractive apt -y upgrade - name: Checkout source uses: actions/checkout@v4 with: @@ -36,3 +38,27 @@ jobs: - name: Install modules into fake prefix run: | make O=build-660 LOCALVERSION= INSTALL_MOD_PATH=PREFIX INSTALL_MOD_STRIP=1 modules_install + build-apk-package: + runs-on: [self-hosted, Linux, aarch64] + steps: + - name: Update pmbootstrap + run: | + git -C /opt/pmbootstrap pull + - name: Prepare pmbootstrap config + run: | + echo -n "pmbootstrap version: " + pmbootstrap --version + pmbootstrap config work /home/runner/_pmbwork + pmbootstrap config aports /home/runner/_pmbwork/cache_git/pmaports + pmbootstrap config ccache_size 20G + pmbootstrap config extra_space 256 + pmbootstrap config jobs 4 + pmbootstrap config ui console + - name: Dump pmbootstrap config + run: | + pmbootstrap config + - name: Update pmaports + run: | + git -C $(pmbootstrap config aports) fetch origin + git -C $(pmbootstrap config aports) reset --hard origin/master + pmbootstrap status