mirror of
https://github.com/sudoxnym/open-hyperion.git
synced 2026-04-14 19:46:39 +00:00
Add Qt6 Linux builds
This commit is contained in:
parent
ea534a7336
commit
cc35c8d98c
2 changed files with 96 additions and 6 deletions
|
|
@ -20,9 +20,28 @@ before_script:
|
||||||
#reusable templates
|
#reusable templates
|
||||||
.ccache_init: &ccache_init
|
.ccache_init: &ccache_init
|
||||||
before_script:
|
before_script:
|
||||||
- export QT_SELECT=qt5
|
|
||||||
- export APPIMAGE_EXTRACT_AND_RUN=1
|
- export APPIMAGE_EXTRACT_AND_RUN=1
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
# Linux i386 Qt6 Build Target #
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
"Linux i386 Qt6":
|
||||||
|
<<: *ccache_init
|
||||||
|
image: registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:bookworm-i386
|
||||||
|
tags:
|
||||||
|
- linux
|
||||||
|
- i386
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- export $(dpkg-architecture)
|
||||||
|
- ./scripts/build-plugin.sh qt6
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
name: "${CI_PROJECT_NAME}_Linux_i386_Qt6_${CI_COMMIT_SHORT_SHA}"
|
||||||
|
paths:
|
||||||
|
- ./libOpenRGBE131ReceiverPlugin.so
|
||||||
|
expire_in: 30 days
|
||||||
|
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
# Linux i386 Build Target #
|
# Linux i386 Build Target #
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
|
|
@ -34,7 +53,6 @@ before_script:
|
||||||
- i386
|
- i386
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- export QT_SELECT=qt5
|
|
||||||
- export $(dpkg-architecture)
|
- export $(dpkg-architecture)
|
||||||
- ./scripts/build-plugin.sh
|
- ./scripts/build-plugin.sh
|
||||||
|
|
||||||
|
|
@ -44,6 +62,26 @@ before_script:
|
||||||
- ./libOpenRGBE131ReceiverPlugin.so
|
- ./libOpenRGBE131ReceiverPlugin.so
|
||||||
expire_in: 30 days
|
expire_in: 30 days
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
# Linux amd64 Qt6 Build Target #
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
"Linux amd64 Qt6":
|
||||||
|
<<: *ccache_init
|
||||||
|
image: registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:bookworm-amd64
|
||||||
|
tags:
|
||||||
|
- linux
|
||||||
|
- amd64
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- export $(dpkg-architecture)
|
||||||
|
- ./scripts/build-plugin.sh Qt6
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
name: "${CI_PROJECT_NAME}_Linux_amd64_Qt6_${CI_COMMIT_SHORT_SHA}"
|
||||||
|
paths:
|
||||||
|
- ./libOpenRGBE131ReceiverPlugin.so
|
||||||
|
expire_in: 30 days
|
||||||
|
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
# Linux amd64 Build Target #
|
# Linux amd64 Build Target #
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
|
|
@ -55,7 +93,6 @@ before_script:
|
||||||
- amd64
|
- amd64
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- export QT_SELECT=qt5
|
|
||||||
- export $(dpkg-architecture)
|
- export $(dpkg-architecture)
|
||||||
- ./scripts/build-plugin.sh
|
- ./scripts/build-plugin.sh
|
||||||
|
|
||||||
|
|
@ -65,6 +102,26 @@ before_script:
|
||||||
- ./libOpenRGBE131ReceiverPlugin.so
|
- ./libOpenRGBE131ReceiverPlugin.so
|
||||||
expire_in: 30 days
|
expire_in: 30 days
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
# Linux armhf Qt6 Build Target #
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
"Linux armhf Qt6":
|
||||||
|
<<: *ccache_init
|
||||||
|
image: registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:bookworm-armhf
|
||||||
|
tags:
|
||||||
|
- linux
|
||||||
|
- armhf
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- export $(dpkg-architecture)
|
||||||
|
- ./scripts/build-plugin.sh qt6
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
name: "${CI_PROJECT_NAME}_Linux_armhf_Qt6_${CI_COMMIT_SHORT_SHA}"
|
||||||
|
paths:
|
||||||
|
- ./libOpenRGBE131ReceiverPlugin.so
|
||||||
|
expire_in: 30 days
|
||||||
|
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
# Linux armhf Build Target #
|
# Linux armhf Build Target #
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
|
|
@ -76,7 +133,6 @@ before_script:
|
||||||
- armhf
|
- armhf
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- export QT_SELECT=qt5
|
|
||||||
- export $(dpkg-architecture)
|
- export $(dpkg-architecture)
|
||||||
- ./scripts/build-plugin.sh
|
- ./scripts/build-plugin.sh
|
||||||
|
|
||||||
|
|
@ -86,6 +142,26 @@ before_script:
|
||||||
- ./libOpenRGBE131ReceiverPlugin.so
|
- ./libOpenRGBE131ReceiverPlugin.so
|
||||||
expire_in: 30 days
|
expire_in: 30 days
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
# Linux arm64 Qt6 Build Target #
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
"Linux arm64 Qt6":
|
||||||
|
<<: *ccache_init
|
||||||
|
image: registry.gitlab.com/openrgbdevelopers/openrgb-linux-ci-deb-builder:bookworm-arm64
|
||||||
|
tags:
|
||||||
|
- linux
|
||||||
|
- arm64
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- export $(dpkg-architecture)
|
||||||
|
- ./scripts/build-plugin.sh qt6
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
name: "${CI_PROJECT_NAME}_Linux_arm64_Qt6_${CI_COMMIT_SHORT_SHA}"
|
||||||
|
paths:
|
||||||
|
- ./libOpenRGBE131ReceiverPlugin.so
|
||||||
|
expire_in: 30 days
|
||||||
|
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
# Linux arm64 Build Target #
|
# Linux arm64 Build Target #
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
|
|
@ -97,7 +173,6 @@ before_script:
|
||||||
- arm64
|
- arm64
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- export QT_SELECT=qt5
|
|
||||||
- export $(dpkg-architecture)
|
- export $(dpkg-architecture)
|
||||||
- ./scripts/build-plugin.sh
|
- ./scripts/build-plugin.sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,27 @@
|
||||||
set -x
|
set -x
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
# Setup environment #
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
if [ "$1" = "qt6" ]; then
|
||||||
|
export QT_SELECT=qt6
|
||||||
|
else
|
||||||
|
export QT_SELECT=qt5
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$QT_SELECT" = "qt6" ]; then
|
||||||
|
export QMAKE=qmake6
|
||||||
|
else
|
||||||
|
export QMAKE=qmake
|
||||||
|
fi
|
||||||
|
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
# Configure build files with qmake #
|
# Configure build files with qmake #
|
||||||
# we need to explicitly set the install prefix, as qmake's default is #
|
# we need to explicitly set the install prefix, as qmake's default is #
|
||||||
# /usr/local for some reason... #
|
# /usr/local for some reason... #
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
qmake .
|
$QMAKE .
|
||||||
|
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
# Build project and install files into AppDir #
|
# Build project and install files into AppDir #
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue