ci: Switch to Debian Bullseye images
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
include:
|
include:
|
||||||
- 'https://source.puri.sm/Librem5/librem5-ci/raw/master/librem5-pipeline-definitions.yml'
|
- 'https://source.puri.sm/Librem5/librem5-ci/raw/master/librem5-pipeline-definitions.yml'
|
||||||
- 'https://source.puri.sm/Librem5/librem5-ci/raw/master/librem5-pipeline-byzantium-jobs.yml'
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
@@ -8,6 +7,9 @@ stages:
|
|||||||
- package
|
- package
|
||||||
- test-package
|
- test-package
|
||||||
|
|
||||||
|
variables:
|
||||||
|
L5_DOCKER_IMAGE: debian:bullseye
|
||||||
|
|
||||||
build:native:
|
build:native:
|
||||||
stage: build
|
stage: build
|
||||||
artifacts:
|
artifacts:
|
||||||
@@ -17,17 +19,21 @@ build:native:
|
|||||||
COMMON_BUILD_OPTS: -Db_coverage=true --werror
|
COMMON_BUILD_OPTS: -Db_coverage=true --werror
|
||||||
BUILD_OPTS: -Dgtk_doc=true ${COMMON_BUILD_OPTS}
|
BUILD_OPTS: -Dgtk_doc=true ${COMMON_BUILD_OPTS}
|
||||||
WANT_BUILD_DEPS: "true"
|
WANT_BUILD_DEPS: "true"
|
||||||
|
EXP_DEPS: libhandy-1-dev/experimental libhandy-1-0/experimental gir1.2-handy-1/experimental libgladeui-common/experimental
|
||||||
except:
|
except:
|
||||||
variables:
|
variables:
|
||||||
- $PKG_ONLY == "1"
|
- $PKG_ONLY == "1"
|
||||||
image: pureos/byzantium
|
image: debian:bullseye
|
||||||
tags:
|
tags: []
|
||||||
- librem5
|
|
||||||
before_script:
|
before_script:
|
||||||
- export DEBIAN_FRONTEND=noninteractive
|
- export DEBIAN_FRONTEND=noninteractive
|
||||||
- apt-get -y update
|
- apt-get -y update
|
||||||
- apt-get -y install lcov
|
- apt-get -y install eatmydata
|
||||||
- apt-get -y build-dep .
|
- echo "deb http://deb.debian.org/debian/ experimental main" > /etc/apt/sources.list.d/exp.list
|
||||||
|
- eatmydata apt-get -y update
|
||||||
|
- eatmydata apt-get -y install $EXP_DEPS
|
||||||
|
- eatmydata apt-get -y install lcov
|
||||||
|
- '[ "${WANT_BUILD_DEPS}" != "true" ] || eatmydata apt-get -y build-dep .'
|
||||||
- ulimit -c unlimited
|
- ulimit -c unlimited
|
||||||
script:
|
script:
|
||||||
- 'echo "Build opts: ${BUILD_OPTS}"'
|
- 'echo "Build opts: ${BUILD_OPTS}"'
|
||||||
@@ -73,6 +79,27 @@ check-po:
|
|||||||
- cd po/
|
- cd po/
|
||||||
- intltool-update -m 2>&1 | grep -qs '/.*\.c' && { intltool-update -m; exit 1; } || exit 0
|
- intltool-update -m 2>&1 | grep -qs '/.*\.c' && { intltool-update -m; exit 1; } || exit 0
|
||||||
|
|
||||||
|
package-debian-bullseye:
|
||||||
|
variables:
|
||||||
|
EXP_DEPS: libhandy-1-dev/experimental libhandy-1-0/experimental gir1.2-handy-1/experimental libgladeui-common/experimental
|
||||||
|
tags: []
|
||||||
|
extends: .l5-build-debian-package
|
||||||
|
before_script:
|
||||||
|
- echo "deb http://deb.debian.org/debian/ experimental main" > /etc/apt/sources.list.d/exp.list
|
||||||
|
- apt-get -y update
|
||||||
|
- apt-get -y install $EXP_DEPS
|
||||||
|
|
||||||
|
package-debian-bullseye:arm64:
|
||||||
|
variables:
|
||||||
|
EXP_DEPS: libhandy-1-dev/experimental libhandy-1-0/experimental gir1.2-handy-1/experimental libgladeui-common/experimental
|
||||||
|
tags:
|
||||||
|
- aarch64
|
||||||
|
extends: .l5-build-debian-package
|
||||||
|
before_script:
|
||||||
|
- echo "deb http://deb.debian.org/debian/ experimental main" > /etc/apt/sources.list.d/exp.list
|
||||||
|
- apt-get -y update
|
||||||
|
- apt-get -y install $EXP_DEPS
|
||||||
|
|
||||||
# For some reason including https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml fails with a network error (status code 500), therefore it's copied here
|
# For some reason including https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml fails with a network error (status code 500), therefore it's copied here
|
||||||
.flatpak:
|
.flatpak:
|
||||||
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
|
image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
|
||||||
|
|||||||
Reference in New Issue
Block a user