summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2023-04-22 11:14:58 +0100
committerTim-Philipp Müller <tim@centricular.com>2023-04-24 13:09:09 +0100
commit596581a8d771338edaa7620385a19b3fe953fd71 (patch)
tree724cac00ee4f9eec5c442df840226ac073b9c041
parenta92072c6054fd6691df376be6feae26331df7967 (diff)
downloadorc-596581a8d771338edaa7620385a19b3fe953fd71.tar.gz
ci: add native arm64 jobs
- can run tests on native arm64 machine - rename other arm64 jobs to cross-arm64 for clarity - fix artifacts for debian jobs - use slim images for debian jobs - add debian bullseye/bookworm variants Part-of: <https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/96>
-rw-r--r--.gitlab-ci.yml47
1 files changed, 39 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07a578f..f12ba83 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,8 +30,8 @@ default:
- 'api_failure'
interruptible: true
-debian sid:
- image: 'debian:sid'
+.debian:
+ image: 'debian:stable-slim'
stage: build
variables:
DEPENDENCIES: >
@@ -48,8 +48,39 @@ debian sid:
- meson test -C build/ --benchmark
- meson install -C build/
artifacts:
+ name: "${CI_JOB_NAME}_${CI_COMMIT_SHA}"
+ expire_in: '5 days'
+ when: 'always'
paths:
- - build/meson-logs/
+ - "build/meson-logs/*txt"
+
+debian sid:
+ extends: '.debian'
+ image: 'debian:sid-slim'
+
+debian sid arm64:
+ extends: '.debian'
+ image: 'debian:sid-slim'
+ tags:
+ - 'gstreamer-arm64-linux-docker'
+ # https://gitlab.freedesktop.org/gstreamer/orc/-/issues/41
+ # https://gitlab.freedesktop.org/gstreamer/orc/-/issues/45
+ allow_failure: true
+
+debian bullseye arm64:
+ extends: '.debian'
+ image: 'debian:bullseye-slim'
+ tags:
+ - 'gstreamer-arm64-linux-docker'
+
+debian bookworm arm64:
+ extends: '.debian'
+ image: 'debian:bookworm-slim'
+ tags:
+ - 'gstreamer-arm64-linux-docker'
+ # https://gitlab.freedesktop.org/gstreamer/orc/-/issues/41
+ # https://gitlab.freedesktop.org/gstreamer/orc/-/issues/45
+ allow_failure: true
.build windows:
image: 'registry.freedesktop.org/gstreamer/gstreamer/amd64/windows:2023-04-03.0-main'
@@ -83,7 +114,7 @@ debian sid:
meson test -C build &&
meson test -C build --benchmark"
-vs2019 amd64:
+vs2019 cross-amd64:
extends: '.build windows'
variables:
ARCH: 'amd64'
@@ -95,7 +126,7 @@ vs2019 x86:
ARCH: 'x86'
PLAT: 'Desktop'
-vs2019 arm64 UWP:
+vs2019 cross-arm64 UWP:
extends: '.build windows'
variables:
ARCH: 'arm64'
@@ -104,7 +135,7 @@ vs2019 arm64 UWP:
--cross-file ci/vs2019-arm64-uwp-cross-file.txt
--native-file ci/vs2019-x64-native-file.txt
-vs2019 arm UWP:
+vs2019 cross-arm UWP:
extends: '.build windows'
# Known to not work, but maybe we'll want it later
when: 'manual'
@@ -163,7 +194,7 @@ macos x86_64:
- meson test -C build
- meson test -C build --benchmark
-ios arm64:
+ios cross-arm64:
stage: 'build'
tags:
- gst-ios-15.4
@@ -206,7 +237,7 @@ ios arm64:
- meson setup --werror -Dorc-test=disabled -Db_bitcode=true --cross-file ios-cross-file.txt build
- meson compile --verbose -C build
-android fedora arm64:
+android fedora cross-arm64:
image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/android-fedora:2020-06-25.0-master'
stage: 'build'
artifacts: