diff options
author | Jordan Petridis <jordan@centricular.com> | 2024-04-03 14:31:24 +0300 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2024-04-05 09:15:10 +0000 |
commit | d4efceb95054ba38e0c1c214cd2021b142956898 (patch) | |
tree | ebfcdc20dc9824c1997df66cbc42734be0c63d77 | |
parent | 3e800b5baea070c31cfbc7054f8408510a5d012f (diff) |
ci: Add ubuntu lts builds
Based on 22.04 for now, they are like the fedora builds
minus wine as we only build that on the mingw jobs.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1442>
-rw-r--r-- | .gitlab-ci.yml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 38464b52..2c331070 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,9 @@ include: - project: 'freedesktop/ci-templates' ref: 'master' file: '/templates/fedora.yml' + - project: 'freedesktop/ci-templates' + ref: 'master' + file: '/templates/ubuntu.yml' stages: - 'build docker' @@ -99,6 +102,31 @@ default: ANDROID_HOME: "/android/sdk" ANDROID_NDK_HOME: "/android/ndk" +.ubuntu image: + variables: + ### + # IMPORTANT + # These are the version tags for the docker images the CI runs against. + # If you are hacking on them or need a them to rebuild, its enough + # to change any part of the string of the image you want. + ### + FDO_DISTRIBUTION_TAG: "2024-04-03.1" + FDO_DISTRIBUTION_VERSION: "22.04" + FDO_DISTRIBUTION_PACKAGES: >- + bash + ca-certificates + curl + git + lbzip2 + python3-distro + python3-distro-info + python3-venv + python3-setuptools + rsync + sudo + FDO_DISTRIBUTION_EXEC: "ci/docker_setup.sh" + FDO_UPSTREAM_REPO: "gstreamer/cerbero" + .manual trigger: rules: # If this pipeline is triggered from gstreamer, trigger the pipeline automatically @@ -142,6 +170,15 @@ android fedora image: variables: GIT_STRATEGY: none +ubuntu image: + stage: "build docker" + extends: + - .manual trigger + - .ubuntu image + - .fdo.container-build@ubuntu + variables: + GIT_STRATEGY: none + # Rules for when to use a specific job # Used when a GStreamer MR is used using the triggered pipeline @@ -217,6 +254,13 @@ android fedora image: needs: - "fedora image" +.cerbero ubuntu base: + extends: + - .ubuntu image + - .fdo.distribution-image@ubuntu + needs: + - "ubuntu image" + # Template for Cerbero GStreamer Deps # # This template is used by cerbero/ project to pre-built the GStreamer @@ -279,6 +323,21 @@ build cerbero fedora x86_64: variables: CONFIG: "linux.config" +cerbero deps ubuntu x86_64: + extends: + - '.cerbero ubuntu base' + - '.cerbero deps' + variables: + CONFIG: "linux.config" + ARCH: "linux_x86_64" + +build cerbero ubuntu x86_64: + extends: + - '.cerbero ubuntu base' + - '.cerbero mr' + variables: + CONFIG: "linux.config" + # # Cerbero Android Universal build # |