diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 585dc3fdb..8fae44990 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -406,6 +406,8 @@ vs2019 shared x86: EXTRA_MESON_ARGS: '--default-library=shared' android arm64 fedora: + # TODO: should probably build our own image here some day + # See https://gitlab.freedesktop.org/gstreamer/gstreamer/container_registry/7689 for current images extends: - '.fdo.distribution-image@fedora' stage: 'build' @@ -419,6 +421,53 @@ android arm64 fedora: - meson setup --cross-file .gitlab-ci/android-cross-file.txt -Dpixman:a64-neon=disabled build - meson compile --verbose -C build +macOS arm64: + image: "registry.freedesktop.org/gstreamer/cerbero/macos-arm64/15-sequoia:2024-10-28.2" + tags: + - gst-mac-arm + stage: 'build' + artifacts: + when: 'always' + expire_in: "7 days" + paths: + - build/meson-logs/*.txt + - build/meson-private/*.pc + - build/test/*.log + - build/test/pdiff/*.log + - build/test/output + exclude: + - "build/test/**/*.cs" + - "build/test/**/*.trace" + before_script: + # Install the DejaVu fonts + - curl -LO https://downloads.sourceforge.net/dejavu/dejavu-fonts-ttf-2.37.zip + - unzip dejavu-fonts-ttf-2.37.zip + - cp dejavu-fonts-ttf-2.37/ttf/*.ttf /Library/Fonts + # Update pip + - pip3 install --upgrade pip + # FIXME + - export PATH=${PATH}:/Users/gst-ci/Library/Python/3.9/bin + # Make sure meson is up to date + - pip3 install -U meson + # Need to install certificates for Python + - pip3 install --upgrade certifi + #### Another way to install certificates + ####- open /Applications/Python\ 3.8/Install\ Certificates.command + # Get ninja + - pip3 install -U ninja + script: + # FIXME + - export PATH=${PATH}:/Users/gst-ci/Library/Python/3.9/bin + - CERT_PATH=$(python3 -m certifi) && export SSL_CERT_FILE=${CERT_PATH} && export REQUESTS_CA_BUNDLE=${CERT_PATH} + # pixman region-test fails to link on macOS + - meson setup -Dpixman:tests=disabled build + - meson compile --verbose -C build + # Test cairo-quartz. Other backends should be covered by other jobs + - export CAIRO_TEST_IGNORE_quartz_argb32=$(tr '\n' ',' < .gitlab-ci/ignore-quartz-argb32.txt) + - export CAIRO_TEST_IGNORE_quartz_rgb24=$(tr '\n' ',' < .gitlab-ci/ignore-quartz-rgb24.txt) + - export CAIRO_TEST_TARGET=quartz + - (cd build/test && srcdir=../../test ./cairo-test-suite) + # Run static analysis. static-scan: stage: 'analysis'