新增交叉编译配置文件

Signed-off-by: gfdgd_xi <3025613752@qq.com>
This commit is contained in:
2025-08-23 18:20:53 +08:00
parent da2fc47dad
commit 689118ae11
5 changed files with 239 additions and 22 deletions
+35
View File
@@ -0,0 +1,35 @@
name: Building GXDE Testing Package
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-zhuangzhuang:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-zhuangzhuang-cross.yml@master
secrets: inherit
call-hetao:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-hetao-cross.yml@master
secrets: inherit
call-tianlu:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-tianlu-cross.yml@master
secrets: inherit
+71
View File
@@ -0,0 +1,71 @@
name: Building GXDE Package (hetao)
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-amd64-hetao:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
secrets: inherit
with:
display-name: amd64-hetao
arch: amd64
rootfs-codename: crimson
rootfs-source: https://mirrors.kernel.org/deepin/beige/
gxde-codename: hetao
gxde-codename-upload: hetao
gxde-cross-arch: amd64
call-arm64-hetao:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
secrets: inherit
with:
display-name: arm64-hetao
arch: amd64
rootfs-codename: crimson
rootfs-source: https://mirrors.kernel.org/deepin/beige/
gxde-codename: hetao
gxde-codename-upload: hetao
gxde-cross-arch: arm64
call-loong64-hetao:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
secrets: inherit
with:
display-name: loong64-hetao
arch: amd64
rootfs-codename: crimson
rootfs-source: https://mirrors.kernel.org/deepin/beige/
gxde-codename: hetao
gxde-codename-upload: hetao
gxde-cross-arch: loong64
call-riscv64-hetao:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
secrets: inherit
with:
display-name: riscv64-hetao
arch: amd64
rootfs-codename: crimson
rootfs-source: https://mirrors.kernel.org/deepin/beige/
gxde-codename: hetao
gxde-codename-upload: hetao
gxde-cross-arch: riscv64
+72
View File
@@ -0,0 +1,72 @@
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
gxde-cross-arch: i386
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
gxde-cross-arch: amd64
call-arm64-tianlu:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
secrets: inherit
with:
display-name: arm64-tianlu
arch: amd64
rootfs-codename: bookworm
rootfs-source: https://deb.debian.org/debian/
gxde-codename: bixie
gxde-codename-upload: tianlu
gxde-cross-arch: arm64
call-mips64el-tianlu:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
secrets: inherit
with:
display-name: mips64el-tianlu
arch: amd64
rootfs-codename: bookworm
rootfs-source: https://deb.debian.org/debian/
gxde-codename: bixie
gxde-codename-upload: tianlu
gxde-cross-arch: mips64el
+60
View File
@@ -0,0 +1,60 @@
name: Building GXDE Testing Package (zhuangzhuang)
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-amd64-zhuangzhuang:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
secrets: inherit
with:
display-name: amd64-zhuangzhuang
arch: amd64
rootfs-codename: trixie
rootfs-source: https://deb.debian.org/debian/
gxde-codename: lizhi
gxde-codename-upload: zhuangzhuang
gxde-cross-arch: amd64
call-arm64-zhuangzhuang:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
secrets: inherit
with:
display-name: arm64-zhuangzhuang
arch: amd64
rootfs-codename: trixie
rootfs-source: https://deb.debian.org/debian/
gxde-codename: lizhi
gxde-codename-upload: zhuangzhuang
gxde-cross-arch: arm64
call-riscv64-zhuangzhuang:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-base.yml@master
secrets: inherit
with:
display-name: riscv64-zhuangzhuang
arch: amd64
rootfs-codename: trixie
rootfs-source: https://deb.debian.org/debian/
gxde-codename: lizhi
gxde-codename-upload: zhuangzhuang
gxde-cross-arch: riscv64
+1 -22
View File
@@ -32,25 +32,4 @@ jobs:
call-tianlu:
uses: GXDE-OS/GXDE/.github/workflows/building-deb-tianlu.yml@master
secrets: inherit
UploadOBS:
if: github.repository_owner == 'GXDE-OS'
runs-on: ubuntu-latest
steps:
- name: Get REPOSITORY Name
run: |
echo "REPO_NAME=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f2)" >> $GITHUB_ENV
REPO_NAME=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f2)
mkdir /home/runner/work/$REPO_NAME/$REPO_NAME/debian-deb-output
- name: Upload to OBS
uses: LingmoOS/action-upload-to-obs@0.0.4
with:
remove-old-sources: true
obs-package-name: ${{ env.REPO_NAME }}
obs-project-name: 'home:gfdgd-xi'
obs-user-name: ${{ secrets.OBS_USERNAME }}
obs-password: ${{ secrets.OBS_PASSWORD }}
obs-instance-url: 'https://api.opensuse.org'
local-package-dir: './debian-deb-output'
secrets: inherit