From 5f7542721dff0848b6ea954b5e8fc04200b5332c Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sun, 13 Apr 2025 07:25:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4backport=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/building-deb-base.yml | 11 ++- .../building-deb-tianlu-backport.yml | 95 +++++++++++++++++++ 2 files changed, 105 insertions(+), 1 deletion(-) create mode 100755 .github/workflows/building-deb-tianlu-backport.yml diff --git a/.github/workflows/building-deb-base.yml b/.github/workflows/building-deb-base.yml index c782631..be969bb 100755 --- a/.github/workflows/building-deb-base.yml +++ b/.github/workflows/building-deb-base.yml @@ -42,6 +42,11 @@ on: description: 'GXDE OS Codename' required: true + gxde-is-backport: + type: boolean + description: 'Is build with backport' + required: false + display-name: required: false type: string @@ -80,11 +85,15 @@ jobs: - name: Configure Base System run: | + if [[ ${{ inputs.gxde-is-backport }} == true ]]; then + isBackport=backport + fi bash .github/workflows/configure-building-enviroment-base-system.sh ${{ inputs.arch }} \ ${{ inputs.rootfs-codename }} \ $REPOSITORY \ https://github.com/$GITHUB_REPOSITORY \ - ${{ inputs.rootfs-source }} + ${{ inputs.rootfs-source }} \ + $isBackport - name: Building ${{ GITHUB.repository }} run: | diff --git a/.github/workflows/building-deb-tianlu-backport.yml b/.github/workflows/building-deb-tianlu-backport.yml new file mode 100755 index 0000000..59e8765 --- /dev/null +++ b/.github/workflows/building-deb-tianlu-backport.yml @@ -0,0 +1,95 @@ +name: Building GXDE Testing Package (tianlu) +run-name: Building ${{ GITHUB.REPOSITORY }} + +on: + workflow_call: + secrets: + PASSWD: + required: true + USERS: + required: true + HOST: + required: true + UPATH: + required: true + UPROGRAM: + required: true + UPORT: + required: true + +env: + REPOSITORY: https://github.com/GXDE-OS/GXDE + BOTTLEPATH: system-bottle + +jobs: + call-i386-tianlu: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: i386-tianlu + arch: i386 + rootfs-codename: bookworm + rootfs-source: https://deb.debian.org/debian/ + gxde-codename: bixie + gxde-codename-upload: tianlu-bpo + gxde-is-backport: true + + call-amd64-tianlu: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: amd64-tianlu + arch: amd64 + rootfs-codename: bookworm + rootfs-source: https://deb.debian.org/debian/ + gxde-codename: bixie + gxde-codename-upload: tianlu-bpo + gxde-is-backport: true + + call-arm64-tianlu: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: arm64-tianlu + arch: arm64 + rootfs-codename: bookworm + rootfs-source: https://deb.debian.org/debian/ + gxde-codename: bixie + gxde-codename-upload: tianlu-bpo + gxde-is-backport: true + + call-mips64el-tianlu: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: mips64el-tianlu + arch: mips64el + rootfs-codename: bookworm + rootfs-source: https://deb.debian.org/debian/ + gxde-codename: bixie + gxde-codename-upload: tianlu-bpo + gxde-is-backport: true + + call-loong64-tianlu: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: loong64-tianlu + arch: loong64 + rootfs-codename: sid + rootfs-source: https://deb.debian.org/debian-ports/ + gxde-codename: bixie + gxde-codename-upload: tianlu-bpo + gxde-is-backport: true + + call-riscv64-tianlu: + uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master + secrets: inherit + with: + display-name: riscv64-tianlu + arch: riscv64 + rootfs-codename: sid + rootfs-source: https://deb.debian.org/debian/ + gxde-codename: bixie + gxde-codename-upload: tianlu-bpo + gxde-is-backport: true