mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
ci: Switch to use bookworm for JDK17
Signed-off-by: utzcoz <utzcoz@outlook.com>
This commit is contained in:
parent
4c1fd41641
commit
59995ebcce
|
@ -131,11 +131,11 @@ win:container_prep:
|
||||||
FDO_DISTRIBUTION_VERSION: "bullseye"
|
FDO_DISTRIBUTION_VERSION: "bullseye"
|
||||||
FDO_DISTRIBUTION_TAG: "2023-04-07"
|
FDO_DISTRIBUTION_TAG: "2023-04-07"
|
||||||
|
|
||||||
# Variables for build and usage of Debian bullseye-ndk image
|
# Variables for build and usage of Debian bookworm-ndk image
|
||||||
.monado.variables.debian:bullseye-ndk:
|
.monado.variables.debian:bookworm-ndk:
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_VERSION: "bullseye"
|
FDO_DISTRIBUTION_VERSION: "bookworm"
|
||||||
FDO_DISTRIBUTION_TAG: "2023-10-28.0"
|
FDO_DISTRIBUTION_TAG: "2023-11-15.1"
|
||||||
FDO_REPO_SUFFIX: ndk
|
FDO_REPO_SUFFIX: ndk
|
||||||
|
|
||||||
# Variables for build and usage of Ubuntu focal image
|
# Variables for build and usage of Ubuntu focal image
|
||||||
|
@ -170,16 +170,16 @@ debian:bullseye:container_prep:
|
||||||
FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates clang-format cmake codespell curl debhelper devscripts doxygen dput-ng gettext-base git glslang-tools graphviz libavcodec-dev libbluetooth-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pkg-config python3 python3-click python3-pip unzip wget'
|
FDO_DISTRIBUTION_PACKAGES: 'build-essential ca-certificates clang-format cmake codespell curl debhelper devscripts doxygen dput-ng gettext-base git glslang-tools graphviz libavcodec-dev libbluetooth-dev libbsd-dev libcjson-dev libdbus-1-dev libegl1-mesa-dev libeigen3-dev libgl1-mesa-dev libglvnd-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libhidapi-dev libopencv-dev libsdl2-dev libsystemd-dev libudev-dev libusb-1.0-0-dev libuvc-dev libv4l-dev libvulkan-dev libwayland-dev libx11-dev libx11-xcb-dev libxcb-randr0-dev libxrandr-dev libxxf86vm-dev ninja-build pandoc patch pkg-config python3 python3-click python3-pip unzip wget'
|
||||||
FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/i386_and_proclamation_container_prep.sh'
|
FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/i386_and_proclamation_container_prep.sh'
|
||||||
|
|
||||||
# Make Debian bullseye-ndk image
|
# Make Debian bookworm-ndk image
|
||||||
debian:bullseye-ndk:container_prep:
|
debian:bookworm-ndk:container_prep:
|
||||||
stage: container_prep
|
stage: container_prep
|
||||||
extends:
|
extends:
|
||||||
- .container-rules
|
- .container-rules
|
||||||
- .monado.variables.debian:bullseye-ndk
|
- .monado.variables.debian:bookworm-ndk
|
||||||
- .fdo.container-build@debian # from ci-templates
|
- .fdo.container-build@debian # from ci-templates
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_PACKAGES: 'ca-certificates cmake git glslang-tools libeigen3-dev meson ninja-build openjdk-17-jdk-headless pkg-config python3 unzip wget'
|
FDO_DISTRIBUTION_PACKAGES: 'ca-certificates cmake default-jdk-headless git glslang-tools libeigen3-dev meson ninja-build pkg-config python3 unzip wget'
|
||||||
FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/android_container_prep.sh'
|
FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/android_container_prep.sh'
|
||||||
|
|
||||||
# Make Ubuntu focal image
|
# Make Ubuntu focal image
|
||||||
|
@ -228,10 +228,10 @@ arch:container_prep:
|
||||||
- .build-rules
|
- .build-rules
|
||||||
|
|
||||||
|
|
||||||
# Base for using Debian bullseye-ndk image
|
# Base for using Debian bookworm-ndk image
|
||||||
.monado.image.debian:bullseye-ndk:
|
.monado.image.debian:bookworm-ndk:
|
||||||
extends:
|
extends:
|
||||||
- .monado.variables.debian:bullseye-ndk
|
- .monado.variables.debian:bookworm-ndk
|
||||||
- .fdo.suffixed-image@debian # from ci-templates
|
- .fdo.suffixed-image@debian # from ci-templates
|
||||||
- .build-rules
|
- .build-rules
|
||||||
|
|
||||||
|
@ -349,7 +349,7 @@ debian:cmake:32bit:
|
||||||
ndk:armeabi-v7a:
|
ndk:armeabi-v7a:
|
||||||
stage: build
|
stage: build
|
||||||
extends:
|
extends:
|
||||||
- .monado.image.debian:bullseye-ndk
|
- .monado.image.debian:bookworm-ndk
|
||||||
script:
|
script:
|
||||||
|
|
||||||
- .gitlab-ci/prebuild.sh
|
- .gitlab-ci/prebuild.sh
|
||||||
|
@ -358,7 +358,7 @@ ndk:armeabi-v7a:
|
||||||
ndk:arm64-v8a:
|
ndk:arm64-v8a:
|
||||||
stage: build
|
stage: build
|
||||||
extends:
|
extends:
|
||||||
- .monado.image.debian:bullseye-ndk
|
- .monado.image.debian:bookworm-ndk
|
||||||
script:
|
script:
|
||||||
|
|
||||||
- .gitlab-ci/prebuild.sh
|
- .gitlab-ci/prebuild.sh
|
||||||
|
@ -367,7 +367,7 @@ ndk:arm64-v8a:
|
||||||
android:spotlessCheck:
|
android:spotlessCheck:
|
||||||
stage: build
|
stage: build
|
||||||
extends:
|
extends:
|
||||||
- .monado.image.debian:bullseye-ndk
|
- .monado.image.debian:bookworm-ndk
|
||||||
before_script:
|
before_script:
|
||||||
# For caching gradle stuff
|
# For caching gradle stuff
|
||||||
- export GRADLE_USER_HOME=`pwd`/.gradlehome
|
- export GRADLE_USER_HOME=`pwd`/.gradlehome
|
||||||
|
@ -387,7 +387,7 @@ android:spotlessCheck:
|
||||||
android:outOfProcessDebug:
|
android:outOfProcessDebug:
|
||||||
stage: build
|
stage: build
|
||||||
extends:
|
extends:
|
||||||
- .monado.image.debian:bullseye-ndk
|
- .monado.image.debian:bookworm-ndk
|
||||||
before_script:
|
before_script:
|
||||||
# For caching gradle stuff
|
# For caching gradle stuff
|
||||||
- export GRADLE_USER_HOME=`pwd`/.gradlehome
|
- export GRADLE_USER_HOME=`pwd`/.gradlehome
|
||||||
|
@ -410,7 +410,7 @@ android:outOfProcessDebug:
|
||||||
android:inProcessDebug:
|
android:inProcessDebug:
|
||||||
stage: build
|
stage: build
|
||||||
extends:
|
extends:
|
||||||
- .monado.image.debian:bullseye-ndk
|
- .monado.image.debian:bookworm-ndk
|
||||||
before_script:
|
before_script:
|
||||||
# For caching gradle stuff
|
# For caching gradle stuff
|
||||||
- export GRADLE_USER_HOME=`pwd`/.gradlehome
|
- export GRADLE_USER_HOME=`pwd`/.gradlehome
|
||||||
|
@ -433,7 +433,7 @@ android:inProcessDebug:
|
||||||
android:outOfProcessRelease:
|
android:outOfProcessRelease:
|
||||||
stage: build
|
stage: build
|
||||||
extends:
|
extends:
|
||||||
- .monado.image.debian:bullseye-ndk
|
- .monado.image.debian:bookworm-ndk
|
||||||
before_script:
|
before_script:
|
||||||
# For caching gradle stuff
|
# For caching gradle stuff
|
||||||
- export GRADLE_USER_HOME=`pwd`/.gradlehome
|
- export GRADLE_USER_HOME=`pwd`/.gradlehome
|
||||||
|
@ -456,7 +456,7 @@ android:outOfProcessRelease:
|
||||||
android:inProcessRelease:
|
android:inProcessRelease:
|
||||||
stage: build
|
stage: build
|
||||||
extends:
|
extends:
|
||||||
- .monado.image.debian:bullseye-ndk
|
- .monado.image.debian:bookworm-ndk
|
||||||
before_script:
|
before_script:
|
||||||
# For caching gradle stuff
|
# For caching gradle stuff
|
||||||
- export GRADLE_USER_HOME=`pwd`/.gradlehome
|
- export GRADLE_USER_HOME=`pwd`/.gradlehome
|
||||||
|
|
|
@ -114,11 +114,11 @@ distributions:
|
||||||
|
|
||||||
# This one is pretty minimal, compared to the others.
|
# This one is pretty minimal, compared to the others.
|
||||||
# Though, we now install the android SDK in it...
|
# Though, we now install the android SDK in it...
|
||||||
- codename: bullseye-ndk
|
- codename: bookworm-ndk
|
||||||
distro_version: bullseye
|
distro_version: bookworm
|
||||||
repo_suffix: ndk
|
repo_suffix: ndk
|
||||||
script: android_container_prep.sh
|
script: android_container_prep.sh
|
||||||
tag: "2023-04-10.1"
|
tag: "2023-11-15.1"
|
||||||
# This must match ext.sharedCompileSdk in build.gradle
|
# This must match ext.sharedCompileSdk in build.gradle
|
||||||
android_compile_sdk: 32
|
android_compile_sdk: 32
|
||||||
# This must match buildscript.ext.buildToolsVersion in build.gradle
|
# This must match buildscript.ext.buildToolsVersion in build.gradle
|
||||||
|
@ -138,7 +138,7 @@ distributions:
|
||||||
pkg-config:
|
pkg-config:
|
||||||
ca-certificates:
|
ca-certificates:
|
||||||
glslang-tools:
|
glslang-tools:
|
||||||
openjdk-17-jdk-headless:
|
default-jdk-headless:
|
||||||
build_jobs:
|
build_jobs:
|
||||||
- name: "ndk:armeabi-v7a"
|
- name: "ndk:armeabi-v7a"
|
||||||
cmake_defines:
|
cmake_defines:
|
||||||
|
|
Loading…
Reference in a new issue