Added Trixie builds

* Combined common Deb build steps
This commit is contained in:
Chris M 2025-07-26 10:55:36 +10:00 committed by Adam Honse
parent 974f7d1e26
commit 72a5afc910

View file

@ -270,14 +270,14 @@ before_script:
- !reference [.upstream_rules, rules] - !reference [.upstream_rules, rules]
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
# Linux (.deb) Debian Bookworm i386 Build Target # # OpenRGB Common Debian Build Steps #
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
"Linux i386 .deb (Debian Bookworm)": .hidden_deb_script: &debian_script_steps
image: registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:bookworm-i386 stage: build
image: registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:$TGT_DEB-$TGT_ARCH
tags: tags:
- linux - linux
- i386 - $TGT_ARCH
stage: build
script: script:
- ./scripts/build-package-files.sh debian/changelog - ./scripts/build-package-files.sh debian/changelog
- dpkg-architecture -l - dpkg-architecture -l
@ -286,96 +286,86 @@ before_script:
- mv -v ../openrgb*.deb ./ - mv -v ../openrgb*.deb ./
artifacts: artifacts:
name: "${CI_PROJECT_NAME}_Linux_i386_deb_${CI_COMMIT_SHORT_SHA}" name: "${CI_PROJECT_NAME}_Linux_${TGT_ARCH}_deb_${CI_COMMIT_SHORT_SHA}"
paths: paths:
- openrgb*.deb - openrgb*.deb
exclude: exclude:
- openrgb-dbgsym*.deb - openrgb-dbgsym*.deb
expire_in: 30 days expire_in: 30 days
rules: rules:
- !reference [.upstream_rules, rules] - !reference [.upstream_rules, rules]
#-----------------------------------------------------------------------#
# Linux (.deb) Debian Bookworm i386 Build Target #
#-----------------------------------------------------------------------#
"Linux i386 .deb (Debian Bookworm)":
variables:
TGT_ARCH: "i386"
TGT_DEB: "bookworm"
<<: *debian_script_steps
#-----------------------------------------------------------------------#
# Linux (.deb) Debian Trixie i386 Build Target #
#-----------------------------------------------------------------------#
"Linux i386 .deb (Debian Trixie)":
variables:
TGT_ARCH: "i386"
TGT_DEB: "trixie"
<<: *debian_script_steps
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
# Linux (.deb) Debian Bookworm amd64 Build Target # # Linux (.deb) Debian Bookworm amd64 Build Target #
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
"Linux amd64 .deb (Debian Bookworm)": "Linux amd64 .deb (Debian Bookworm)":
image: registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:bookworm-amd64 variables:
tags: TGT_ARCH: "amd64"
- linux TGT_DEB: "bookworm"
- amd64 <<: *debian_script_steps
stage: build
script:
- ./scripts/build-package-files.sh debian/changelog
- dpkg-architecture -l
- dpkg-buildpackage -us -B
- rm -v ../openrgb-dbgsym*.deb
- mv -v ../openrgb*.deb ./
artifacts: #-----------------------------------------------------------------------#
name: "${CI_PROJECT_NAME}_Linux_amd64_deb_${CI_COMMIT_SHORT_SHA}" # Linux (.deb) Debian Trixie amd64 Build Target #
paths: #-----------------------------------------------------------------------#
- openrgb*.deb "Linux amd64 .deb (Debian Trixie)":
exclude: variables:
- openrgb-dbgsym*.deb TGT_ARCH: "amd64"
expire_in: 30 days TGT_DEB: "trixie"
<<: *debian_script_steps
rules:
- !reference [.upstream_rules, rules]
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
# Linux (.deb) Debian Bookworm armhf Build Target # # Linux (.deb) Debian Bookworm armhf Build Target #
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
"Linux armhf .deb (Debian Bookworm)": "Linux armhf .deb (Debian Bookworm)":
image: registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:bookworm-armhf variables:
tags: TGT_ARCH: "armhf"
- linux TGT_DEB: "bookworm"
- armhf <<: *debian_script_steps
stage: build
script:
- ./scripts/build-package-files.sh debian/changelog
- dpkg-architecture -l
- dpkg-buildpackage -us -B
- rm -v ../openrgb-dbgsym*.deb
- mv -v ../openrgb*.deb ./
artifacts: #-----------------------------------------------------------------------#
name: "${CI_PROJECT_NAME}_Linux_armhf_deb_${CI_COMMIT_SHORT_SHA}" # Linux (.deb) Debian Trixie armhf Build Target #
paths: #-----------------------------------------------------------------------#
- openrgb*.deb "Linux armhf .deb (Debian Trixie)":
exclude: variables:
- openrgb-dbgsym*.deb TGT_ARCH: "armhf"
expire_in: 30 days TGT_DEB: "trixie"
<<: *debian_script_steps
rules:
- !reference [.upstream_rules, rules]
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
# Linux (.deb) Debian Bookworm arm64 Build Target # # Linux (.deb) Debian Bookworm arm64 Build Target #
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
"Linux arm64 .deb (Debian Bookworm)": "Linux arm64 .deb (Debian Bookworm)":
image: registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:bookworm-arm64 variables:
tags: TGT_ARCH: "arm64"
- linux TGT_DEB: "bookworm"
- arm64 <<: *debian_script_steps
stage: build
script:
- ./scripts/build-package-files.sh debian/changelog
- dpkg-architecture -l
- dpkg-buildpackage -us -B
- rm -v ../openrgb-dbgsym*.deb
- mv -v ../openrgb*.deb ./
artifacts: #-----------------------------------------------------------------------#
name: "${CI_PROJECT_NAME}_Linux_arm64_deb_${CI_COMMIT_SHORT_SHA}" # Linux (.deb) Debian Trixie arm64 Build Target #
paths: #-----------------------------------------------------------------------#
- openrgb*.deb "Linux arm64 .deb (Debian Trixie)":
exclude: variables:
- openrgb-dbgsym*.deb TGT_ARCH: "arm64"
expire_in: 30 days TGT_DEB: "trixie"
<<: *debian_script_steps
rules:
- !reference [.upstream_rules, rules]
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
# Linux (.rpm, F40) 64-bit Build Target # # Linux (.rpm, F40) 64-bit Build Target #