rules:
- if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-build|gst-docs|gst-omx|gst-sharp|gstreamer-vaapi|gst-integration-testsuites|gst-plugins-rs)$/'
+#
+# Cerbero macOS Universal build
+#
+.cerbero cross-macos universal:
+ variables:
+ ARCH: "darwin_universal"
+ CONFIG: "cross-macos-universal.cbc"
+ CERBERO_PACKAGE_ARGS: ""
+ HAVE_CCACHE: ""
+ CERBERO_HOST_DIR: "/Users/gst-ci/cerbero/"
+ tags:
+ - gst-macos-11.1
+ artifacts:
+ name: "${CI_JOB_NAME}_${CI_COMMIT_SHA}"
+ expire_in: '5 days'
+ when: 'always'
+ paths:
+ - "manifest.xml"
+ - "${CERBERO_HOME}/logs"
+ - "gstreamer-1.0-1.*.pkg"
+ - "gstreamer-1.0-devel-1.*.pkg"
+
+cerbero deps cross-macos universal:
+ extends:
+ - '.cerbero deps'
+ - '.cerbero cross-macos universal'
+
+build cerbero cross-macos universal:
+ extends:
+ - '.cerbero'
+ - '.cerbero cross-macos universal'
+ rules:
+ - if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-build|gst-docs|gst-omx|gst-sharp|gstreamer-vaapi|gst-integration-testsuites|gst-plugins-rs)$/'
+
#
# Cerbero iOS build
#