2018-11-08 10:32:14 +00:00
|
|
|
stages:
|
2018-11-23 16:45:31 +00:00
|
|
|
- 'preparation'
|
|
|
|
# Test just one basic build, if it succeeds proceed to test the rest
|
|
|
|
- 'build'
|
|
|
|
- 'test'
|
|
|
|
# Run multiple builds and tests, multi-distro, multi-arch
|
|
|
|
- 'full builds'
|
|
|
|
- 'full tests'
|
2019-03-24 06:56:01 +00:00
|
|
|
# build some apps to check that cross-platform binaries are usable
|
|
|
|
- 'apps'
|
2018-11-08 10:32:14 +00:00
|
|
|
|
|
|
|
variables:
|
2019-03-24 06:56:01 +00:00
|
|
|
ANDROID_IMAGE: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/android:2019-03-26-196225'
|
2019-03-26 00:25:07 +00:00
|
|
|
CERBERO_IMAGE: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/cerbero-fedora:7ed820aa1fcf95938cc161e397b1bf455f1f5b74'
|
2019-02-01 17:24:40 +00:00
|
|
|
FEDORA_IMAGE: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/fedora:2019-03-26-196223'
|
2019-01-08 06:13:07 +00:00
|
|
|
INDENT_IMAGE: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/gst-indent:6f7e01e1e30a73efa880acdc8e911f1f20c58dbb'
|
2019-01-31 16:18:12 +00:00
|
|
|
MANIFEST_IMAGE: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/build-manifest:d19082b72667fb3382bdc3621520c4d26e258b2e'
|
2019-01-08 06:13:07 +00:00
|
|
|
|
2018-11-08 10:32:14 +00:00
|
|
|
GIT_STRATEGY: none
|
2018-11-22 18:24:26 +00:00
|
|
|
DEFAULT_MESON_ARGS: >
|
2018-11-25 23:26:20 +00:00
|
|
|
--werror
|
2018-11-22 18:24:26 +00:00
|
|
|
-Dpython=enabled
|
|
|
|
-Dlibav=enabled
|
|
|
|
-Dugly=enabled
|
|
|
|
-Dbad=enabled
|
|
|
|
-Ddevtools=enabled
|
|
|
|
-Dges=enabled
|
|
|
|
-Drtsp_server=enabled
|
|
|
|
-Dvaapi=enabled
|
|
|
|
-Dsharp=disabled
|
2018-11-08 10:32:14 +00:00
|
|
|
|
2019-03-11 09:12:01 +00:00
|
|
|
DEFAULT_CERBERO_ARGS: >
|
2019-03-25 11:53:37 +00:00
|
|
|
--variants werror
|
|
|
|
--timestamps
|
2019-03-11 09:12:01 +00:00
|
|
|
|
2018-11-08 10:32:14 +00:00
|
|
|
manifest:
|
2019-01-08 06:13:07 +00:00
|
|
|
image: $MANIFEST_IMAGE
|
2018-11-23 16:45:31 +00:00
|
|
|
stage: 'preparation'
|
2018-11-08 10:32:14 +00:00
|
|
|
script:
|
2018-11-11 12:33:13 +00:00
|
|
|
- cd /gst-ci
|
|
|
|
- gitlab/build_manifest.py --self-update
|
|
|
|
- gitlab/build_manifest.py ${CI_PROJECT_DIR}/manifest.xml
|
|
|
|
- cat ${CI_PROJECT_DIR}/manifest.xml
|
2018-11-08 10:32:14 +00:00
|
|
|
artifacts:
|
2018-12-14 12:09:10 +00:00
|
|
|
expire_in: "7 days"
|
2018-11-08 10:32:14 +00:00
|
|
|
paths:
|
|
|
|
- "manifest.xml"
|
|
|
|
|
2018-11-13 11:43:42 +00:00
|
|
|
gst indent:
|
2019-01-08 06:13:07 +00:00
|
|
|
image: $INDENT_IMAGE
|
2018-11-13 11:43:42 +00:00
|
|
|
stage: 'preparation'
|
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: 'fetch'
|
|
|
|
script:
|
|
|
|
# man indent. grep RETURN VALUE, grab a beer on my behalf...
|
|
|
|
- indent --version || true
|
|
|
|
- curl -o gst-indent https://gitlab.freedesktop.org/gstreamer/gstreamer/raw/master/tools/gst-indent
|
|
|
|
- chmod +x gst-indent
|
2018-12-05 21:08:49 +00:00
|
|
|
- find . -name '*.c' -exec ./gst-indent {} +
|
2018-11-13 11:43:42 +00:00
|
|
|
- |
|
2018-12-05 21:12:09 +00:00
|
|
|
if git diff --quiet; then
|
|
|
|
echo "Code is properly formatted"
|
|
|
|
else
|
2018-11-13 11:43:42 +00:00
|
|
|
git diff --color=always
|
|
|
|
echo 'style diverges, please run gst-indent first'
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
except:
|
|
|
|
variables:
|
|
|
|
# No point on trying to format C files in those repositories
|
|
|
|
- $CI_PROJECT_NAME == "gstreamer-sharp"
|
2019-03-25 12:32:27 +00:00
|
|
|
- $CI_PROJECT_NAME == "gst-integration-testsuites"
|
2018-11-24 03:52:59 +00:00
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
2018-11-13 11:43:42 +00:00
|
|
|
|
2018-11-08 10:32:14 +00:00
|
|
|
.build:
|
2018-11-23 16:45:31 +00:00
|
|
|
stage: 'full builds'
|
2018-11-23 16:59:04 +00:00
|
|
|
dependencies:
|
|
|
|
- "manifest"
|
2018-11-08 10:32:14 +00:00
|
|
|
variables:
|
|
|
|
CC: "ccache gcc"
|
|
|
|
CXX: "ccache g++"
|
|
|
|
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
|
|
|
|
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
|
2018-11-22 18:24:26 +00:00
|
|
|
MESON_ARGS: "${DEFAULT_MESON_ARGS}"
|
2018-11-08 10:32:14 +00:00
|
|
|
|
|
|
|
script:
|
2018-12-10 19:35:38 +00:00
|
|
|
- ccache -z
|
2018-11-08 10:32:14 +00:00
|
|
|
# Not sure why, but permission errors else
|
|
|
|
# https://gitlab.freedesktop.org/alatiera/gstreamer/-/jobs/41441
|
|
|
|
- cp -r /gst-build/ . && cd gst-build
|
|
|
|
- ./git-update --no-interaction --manifest="${CI_PROJECT_DIR}/manifest.xml"
|
|
|
|
- meson build/ $MESON_ARGS
|
|
|
|
- ninja -C build/
|
2018-12-10 19:35:38 +00:00
|
|
|
- ccache -s
|
2018-11-08 10:32:14 +00:00
|
|
|
after_script:
|
|
|
|
- cd gst-build/
|
|
|
|
# Clean the artifacts packages to avoid copying "useless" build products.
|
2018-12-05 21:08:49 +00:00
|
|
|
- test -d build && find build -name '*.[ao]' -delete
|
2018-11-08 10:32:14 +00:00
|
|
|
# Clean the .git repos since we won't need them anymore
|
|
|
|
- rm -rf subprojects/*/.git/
|
|
|
|
- rm -rf build/subprojects/*/.git/
|
|
|
|
cache:
|
2018-12-09 02:34:35 +00:00
|
|
|
key: "${CI_JOB_NAME}"
|
2018-11-08 10:32:14 +00:00
|
|
|
paths:
|
|
|
|
- "${CCACHE_DIR}"
|
|
|
|
artifacts:
|
2018-12-14 12:09:10 +00:00
|
|
|
expire_in: '5 days'
|
2018-11-08 10:32:14 +00:00
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- "manifest.xml"
|
2018-11-21 13:49:51 +00:00
|
|
|
- "gst-build/"
|
2018-11-24 03:52:59 +00:00
|
|
|
except:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
2018-11-08 10:32:14 +00:00
|
|
|
|
2018-11-23 16:48:11 +00:00
|
|
|
build fedora x86_64:
|
2018-11-21 14:55:02 +00:00
|
|
|
extends: '.build'
|
2018-11-23 16:45:31 +00:00
|
|
|
stage: 'build'
|
2019-01-08 06:13:07 +00:00
|
|
|
image: $FEDORA_IMAGE
|
2019-02-25 22:17:11 +00:00
|
|
|
variables:
|
2019-04-05 10:14:21 +00:00
|
|
|
MESON_ARGS: "${DEFAULT_MESON_ARGS} -Dsharp=enabled -Domx=enabled -Dgst-omx:target=generic"
|
2018-11-08 10:32:14 +00:00
|
|
|
|
2019-03-27 15:17:23 +00:00
|
|
|
build nodebug fedora x86_64:
|
2019-03-20 19:45:31 +00:00
|
|
|
extends: '.build'
|
|
|
|
stage: 'build'
|
|
|
|
image: $FEDORA_IMAGE
|
|
|
|
variables:
|
2019-04-05 10:14:21 +00:00
|
|
|
MESON_ARGS: "${DEFAULT_MESON_ARGS} -Dsharp=enabled -Dgstreamer:gst_debug=false -Domx=enabled -Dgst-omx:target=generic"
|
2019-03-20 19:45:31 +00:00
|
|
|
|
2018-11-21 15:24:00 +00:00
|
|
|
.test:
|
|
|
|
stage: 'test'
|
|
|
|
variables:
|
|
|
|
# Disable colored output to avoid weird rendering issues
|
2019-03-27 19:44:36 +00:00
|
|
|
GST_DEBUG_NO_COLOR: "true"
|
|
|
|
CI_ARTIFACTS_URL: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/validate-logs/"
|
|
|
|
GST_VALIDATE_LAUNCHER_FORCE_COLORS: "true"
|
2018-12-06 20:20:14 +00:00
|
|
|
|
|
|
|
# note the -b at the start of each line
|
|
|
|
# Can't comment inline sadly
|
|
|
|
# FIXME: get this into gst-validate-launcher KNOWN_ISSUES
|
2019-01-10 08:41:52 +00:00
|
|
|
# gstreamer.pipelines_parse_launch.delayed_link: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/345
|
|
|
|
# gstreamer.gst_gstsystemclock.test_async_sync_interaction: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/346
|
|
|
|
# gstreamer.gst_gstsystemclock.test_periodic_multi: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/347
|
2019-01-10 14:26:03 +00:00
|
|
|
# gstreamer.gst_gstsystemclock.test_periodic_shot: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/348
|
2018-12-11 18:33:18 +00:00
|
|
|
# elements_multisocketsink.test_sending_buffers_with_9_gstmemories: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/525
|
|
|
|
# elements_multisocketsink.test_client_next_keyframe: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/516
|
2018-12-13 19:18:40 +00:00
|
|
|
# flvmux.test_incrementing_timestamps: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/530
|
2019-01-08 15:10:19 +00:00
|
|
|
# flvmux.test_video_caps_late: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/543
|
2018-12-11 20:57:46 +00:00
|
|
|
# rtpbin.test_sender_eos: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/527
|
2019-01-10 08:41:52 +00:00
|
|
|
# rtpbin.test_cleanup_recv: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/546
|
2018-12-06 20:20:14 +00:00
|
|
|
# souphttpsrc.test_icy_stream: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/307
|
2019-02-05 10:27:39 +00:00
|
|
|
# rtspserver.test_shared_udp: https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/61
|
2019-01-10 18:14:08 +00:00
|
|
|
# rtpsession.test_multiple_senders_roundrobin_rbs: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/548
|
2018-12-06 20:20:14 +00:00
|
|
|
# dtls: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/811
|
|
|
|
# mpegtsmux.test_align: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/844
|
2018-12-14 10:34:21 +00:00
|
|
|
# shm.test_shm_live: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/847
|
|
|
|
# splitmux.test_splitmuxsink_async: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/531
|
2019-01-10 14:26:03 +00:00
|
|
|
# splitmux.test_splitmuxsrc_caps_change: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/547
|
2019-01-08 20:31:06 +00:00
|
|
|
# splitmux.test_splitmuxsrc_sparse_streams: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/544
|
2018-12-17 09:43:34 +00:00
|
|
|
# netsim.netsim_stress: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/849
|
2018-12-18 16:52:24 +00:00
|
|
|
# nle_complex.test_one_expandable_another: https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/55
|
2019-01-10 14:26:03 +00:00
|
|
|
# nle_simple.test_simplest: https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/57
|
2019-02-18 14:12:35 +00:00
|
|
|
# ges_basic.test_ges_pipeline_change_state: https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/58
|
2019-02-05 11:31:30 +00:00
|
|
|
# gst-editing-services.pythontests.pyunittest.python.test_timeline.TestTransitions.test_transition_type: https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/62
|
2019-02-18 14:12:35 +00:00
|
|
|
# gst-editing-services.pythontests.pyunittest.python.test_timeline.TestTransitions.test_auto_transition: https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/63
|
2019-01-07 12:33:50 +00:00
|
|
|
# pipelines_tcp.test_that_tcpserversink_and_tcpclientsrc_are_symmetrical: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/221
|
|
|
|
# elements_capsfilter.test_unfixed_downstream_caps: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/335
|
|
|
|
# gst_rtspclientsink.test_record: https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/55
|
2019-01-10 18:14:08 +00:00
|
|
|
# elements_audiotestsrc.test_layout: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/535
|
2019-01-10 09:39:13 +00:00
|
|
|
# camerabin.test_image_video_cycle: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/864
|
2019-01-10 14:26:03 +00:00
|
|
|
# camerabin.test_single_video_recording: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/864#note_101558
|
|
|
|
# camerabin.test_multiple_video_recordings: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/864#note_101646
|
2019-03-23 20:04:38 +00:00
|
|
|
# curlhttpsrc.test_multiple_http_requests: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/932
|
2019-02-12 09:26:03 +00:00
|
|
|
# audiomixer.test_flush_start_flush_stop: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/555
|
2019-03-06 13:47:13 +00:00
|
|
|
# check.gstreamer-sharp.SdpTests: https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/issues/17
|
2019-01-08 16:02:11 +00:00
|
|
|
#
|
|
|
|
# TO FURTHER INVESTIGATE:
|
|
|
|
# check.gst-plugins-base.libs_gstglcolorconvert.test_reorder_buffer
|
|
|
|
# check.gstreamer.gst_gstelement.test_foreach_pad
|
|
|
|
# check.gstreamer.libs_baseparse.parser_pull_short_read
|
|
|
|
# check.gstreamer.pipelines_seek.test_loopback_2
|
|
|
|
# check.gst-plugins-base.elements_appsrc.test_appsrc_blocked_on_caps
|
2019-03-26 11:46:09 +00:00
|
|
|
# check.gst-devtools.validate.launcher_tests.test_validate.launch_pipeline.not_negotiated.caps_query_failure.play_15s
|
2018-12-06 20:20:14 +00:00
|
|
|
BLACKLIST: >
|
2019-01-10 08:41:52 +00:00
|
|
|
-b check.gstreamer.pipelines_parse_launch.delayed_link
|
|
|
|
-b check.gstreamer.gst_gstsystemclock.test_async_sync_interaction
|
|
|
|
-b check.gstreamer.gst_gstsystemclock.test_periodic_multi
|
2019-01-10 14:26:03 +00:00
|
|
|
-b check.gstreamer.gst_gstsystemclock.test_periodic_shot
|
2019-01-08 16:02:11 +00:00
|
|
|
-b check.gstreamer.pipelines_seek.test_loopback_2
|
|
|
|
-b check.gstreamer.gst_gstelement.test_foreach_pad
|
|
|
|
-b check.gstreamer.libs_baseparse.parser_pull_short_read
|
2018-12-10 18:35:29 +00:00
|
|
|
-b check.gst-plugins-base.elements_multisocketsink.test_sending_buffers_with_9_gstmemories
|
2018-12-11 18:33:18 +00:00
|
|
|
-b check.gst-plugins-base.elements_multisocketsink.test_client_next_keyframe
|
2019-01-16 15:46:56 +00:00
|
|
|
-b check.gst-plugins-base.elements_multisocketsink.test_add_client
|
2019-01-08 16:02:11 +00:00
|
|
|
-b check.gst-plugins-base.libs_gstglcolorconvert.test_reorder_buffer
|
2019-01-10 18:14:08 +00:00
|
|
|
-b check.gst-plugins-base.elements_audiotestsrc.test_layout
|
2018-12-06 20:20:14 +00:00
|
|
|
-b check.gst-plugins-good.elements_souphttpsrc.test_icy_stream
|
2018-12-11 20:57:46 +00:00
|
|
|
-b check.gst-plugins-good.elements_rtpbin.test_sender_eos
|
2019-01-10 08:41:52 +00:00
|
|
|
-b check.gst-plugins-good.elements_rtpbin.test_cleanup_recv
|
2018-12-13 19:18:40 +00:00
|
|
|
-b check.gst-plugins-good.elements_flvmux.test_incrementing_timestamps
|
2019-01-08 15:10:19 +00:00
|
|
|
-b check.gst-plugins-good.elements_flvmux.test_video_caps_late
|
2019-01-08 16:02:11 +00:00
|
|
|
-b check.gst-plugins-base.elements_appsrc.test_appsrc_blocked_on_caps
|
2019-01-08 20:31:06 +00:00
|
|
|
-b check.gst-plugins-good.elements_splitmux.test_splitmuxsrc_sparse_streams
|
2019-01-10 14:26:03 +00:00
|
|
|
-b check.gst-plugins-good.elements_splitmux.test_splitmuxsrc_caps_change
|
2018-12-06 20:20:14 +00:00
|
|
|
-b check.gst-plugins-bad.elements_dtls.test_data_transfer
|
|
|
|
-b check.gst-plugins-bad.elements_dtls.test_create_and_unref
|
2019-01-10 09:39:13 +00:00
|
|
|
-b check.gst-plugins-bad.elements_camerabin.test_image_video_cycle
|
2019-01-10 14:26:03 +00:00
|
|
|
-b check.gst-plugins-bad.elements_camerabin.test_single_video_recording
|
|
|
|
-b check.gst-plugins-bad.elements_camerabin.test_multiple_video_recordings
|
2019-03-23 20:04:38 +00:00
|
|
|
-b check.gst-plugins-bad.elements_curlhttpsrc.test_multiple_http_requests
|
2019-01-10 18:14:08 +00:00
|
|
|
-b check.gst-plugins-good.elements_rtpsession.test_multiple_senders_roundrobin_rbs
|
2018-12-14 10:34:21 +00:00
|
|
|
-b check.gst-plugins-bad.elements_shm.test_shm_live
|
|
|
|
-b check.gst-plugins-good.elements_splitmux.test_splitmuxsink_async
|
2018-12-17 09:43:34 +00:00
|
|
|
-b check.gst-plugins-bad.elements_netsim.netsim_stress
|
2018-12-18 16:52:24 +00:00
|
|
|
-b check.gst-editing-services.nle_complex.test_one_expandable_another
|
2019-01-10 14:26:03 +00:00
|
|
|
-b check.gst-editing-services.nle_simple.test_simplest
|
|
|
|
-b check.gst-editing-services.ges_basic.test_ges_pipeline_change_state
|
2019-02-05 11:31:30 +00:00
|
|
|
-b check.gst-editing-services.pythontests.pyunittest.python.test_timeline.TestTransitions.test_transition_type
|
2019-02-18 14:12:35 +00:00
|
|
|
-b check.gst-editing-services.pythontests.pyunittest.python.test_timeline.TestTransitions.test_auto_transition
|
2019-01-07 12:33:50 +00:00
|
|
|
-b check.gst-plugins-base.pipelines_tcp.test_that_tcpserversink_and_tcpclientsrc_are_symmetrical
|
|
|
|
-b check.gstreamer.elements_capsfilter.test_unfixed_downstream_caps
|
|
|
|
-b check.gst-rtsp-server.gst_rtspclientsink.test_record
|
2019-02-05 10:27:39 +00:00
|
|
|
-b check.gst-rtsp-server.gst_rtspserver.test_shared_udp
|
2019-02-12 09:26:03 +00:00
|
|
|
-b check.gst-plugins-base.elements_audiomixer.test_flush_start_flush_stop
|
2019-03-06 13:47:13 +00:00
|
|
|
-b check.gstreamer-sharp.SdpTests
|
2019-03-26 11:46:09 +00:00
|
|
|
-b check.gst-devtools.validate.launcher_tests.test_validate.launch_pipeline.not_negotiated.caps_query_failure.play_15s
|
2018-11-21 15:24:00 +00:00
|
|
|
script:
|
|
|
|
- cd gst-build/
|
2019-03-27 19:44:36 +00:00
|
|
|
- echo "-> Running ${TEST_SUITE} testsuite."
|
2018-11-21 15:24:00 +00:00
|
|
|
- >
|
|
|
|
./gst-uninstalled.py
|
|
|
|
gst-validate-launcher ${TEST_SUITE}
|
|
|
|
-fs
|
|
|
|
--mute
|
|
|
|
--shuffle
|
|
|
|
--no-display
|
|
|
|
--meson-no-rebuild
|
2019-03-27 19:44:36 +00:00
|
|
|
--fail-on-testlist-change
|
|
|
|
-l "${CI_PROJECT_DIR}/validate-logs/"
|
|
|
|
--xunit-file "${CI_PROJECT_DIR}/validate-logs/xunit.xml"
|
2018-12-06 20:20:14 +00:00
|
|
|
${BLACKLIST}
|
2019-03-06 19:01:48 +00:00
|
|
|
${EXTRA_VALIDATE_ARGS}
|
2018-11-21 15:24:00 +00:00
|
|
|
artifacts:
|
2018-12-14 12:09:10 +00:00
|
|
|
expire_in: '14 days'
|
2018-11-21 15:24:00 +00:00
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- 'gst-build/build/meson-logs/'
|
2019-03-27 19:44:36 +00:00
|
|
|
- 'validate-logs'
|
2018-11-21 15:24:00 +00:00
|
|
|
reports:
|
|
|
|
junit:
|
2019-03-27 19:44:36 +00:00
|
|
|
- "validate-logs/*.xml"
|
2018-12-11 11:25:37 +00:00
|
|
|
# We disable the .build above, which this job usually depends upon for cerbero
|
|
|
|
except:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
2019-03-27 02:26:17 +00:00
|
|
|
- $CI_PROJECT_NAME == "gst-examples"
|
2018-11-21 15:24:00 +00:00
|
|
|
|
|
|
|
.test fedora x86_64:
|
2019-01-08 06:13:07 +00:00
|
|
|
image: $FEDORA_IMAGE
|
2018-11-21 15:24:00 +00:00
|
|
|
extends: '.test'
|
|
|
|
dependencies:
|
|
|
|
- build fedora x86_64
|
|
|
|
|
|
|
|
check fedora:
|
|
|
|
extends: '.test fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gst*"
|
2019-03-27 21:20:04 +00:00
|
|
|
except:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "gst-integration-testsuites"
|
2019-04-04 10:32:46 +00:00
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
|
|
|
- $CI_PROJECT_NAME == "gst-examples"
|
2018-11-21 15:24:00 +00:00
|
|
|
|
2019-03-27 19:44:36 +00:00
|
|
|
integration testsuites fedora:
|
|
|
|
extends: '.test fedora x86_64'
|
|
|
|
before_script:
|
|
|
|
- rm -f gst-build/build/subprojects/gstreamer-vaapi/gst/vaapi/libgstvaapi.so
|
|
|
|
variables:
|
|
|
|
EXTRA_VALIDATE_ARGS: "--timeout-factor=2 --retry-on-failures"
|
|
|
|
TEST_SUITE: "validate ges"
|
|
|
|
|
2019-03-06 19:01:48 +00:00
|
|
|
# Valgrind
|
|
|
|
.valgrind fedora x86_64:
|
|
|
|
extends: '.test fedora x86_64'
|
2019-03-21 21:39:03 +00:00
|
|
|
stage: 'full tests'
|
2019-03-06 19:01:48 +00:00
|
|
|
variables:
|
|
|
|
# These tests take very long compared to what they add, so let's skip them.
|
|
|
|
# - check.*.generic_states.* - enough to run one of the sequences
|
|
|
|
# - check.gstreamer.gst_gstelement.test_foreach_pad - 48s
|
|
|
|
# - check.gstreamer.gst_gstinfo.info_post_gst_init_category_registration - 21s
|
|
|
|
# - check.gstreamer.gst_gstsystemclock.test_resolution - 60s
|
|
|
|
# - check.gstreamer.libs_aggregator.test_infinite_seek - 20s
|
|
|
|
# - check.gstreamer.libs_aggregator.test_infinite_seek_50_src - 20s
|
|
|
|
# - check.gstreamer.libs_gstharness.test_harness_element_ref - 20s
|
|
|
|
# - check.gstreamer.pipelines_simple_launch_lines.test_2_elements - 58s
|
|
|
|
# - check.gstreamer.pipelines_stress.test_stress - 54s
|
|
|
|
# - check.gstreamer.pipelines_stress.test_stress_preroll - 27s
|
|
|
|
# - check.gst-plugins-base.elements_appsrc.test_appsrc_block_deadlock - 265.595s
|
|
|
|
# - check.gst-plugins-base.elements_audioresample.test_fft - 91.247s
|
|
|
|
# - check.gst-plugins-base.elements_audioresample.test_timestamp_drift - 141.784s
|
|
|
|
# - check.gst-plugins-base.elements-videoscale - superlong
|
|
|
|
# - check.gst-plugins-base.libs_video.test_overlay_blend - 74.096s
|
|
|
|
# - check.gst-plugins-base.libs_video.test_video_color_convert - 345.271s
|
|
|
|
# - check.gst-plugins-base.libs_video.test_video_formats - 70.987s
|
|
|
|
# - check.gst-plugins-base.libs_video.test_video_size_convert - 56.387s
|
|
|
|
# - check.gst-plugins-base.elements_audiointerleave.test_audiointerleave_2ch_pipeline_ - 5 * 51.069s
|
|
|
|
# - check.gst-plugins-base.elements_multifdsink.test_client_kick - 46.909s
|
|
|
|
# - check.gst-plugins-base.elements_videotestsrc.test_all_patterns
|
|
|
|
# - check.gst-plugins-base.elements_videotestsrc.test_patterns_are_deterministic
|
|
|
|
# - check.gst-plugins-good.elements_shapewipe.test_general - 325s
|
|
|
|
# - check.gst-plugins-good.elements_videocrop.test_cropping - 245s
|
|
|
|
# - check.gst-plugins-good.elements_videomixer - 30s (also deprecated)
|
|
|
|
# - check.gst-plugins-good.elements_rtp_payloading.rtp_jpeg_packet_loss - 109s
|
|
|
|
# - check.gst-plugins-good.elements_videomixer.test_play_twice_then_add_and_play_again - 55s
|
|
|
|
# - check.gst-plugins-good.pipelines_effectv.test_quarktv - 53s
|
|
|
|
# - check.gst-plugins-good.elements_deinterlace.test_mode_disabled_passthrough - 52s
|
|
|
|
# - check.gst-plugins-good.elements_deinterlace.test_mode_auto_deinterlaced_passthrough - 28s
|
|
|
|
# - check.gst-plugins-good.elements_deinterleave.test_2_channels_caps_change - 30s
|
|
|
|
# - check.gst-plugins-good.elements_deinterleave.test_2_channels - 22s
|
|
|
|
# - check.gst-plugins-good.elements_rtpjitterbuffer.test_fill_queue - 22s
|
|
|
|
# - check.gst-plugins-good.elements_splitmux.test_splitmuxsink_async - 20s
|
|
|
|
# - check.gst-plugins-good.elements_videomixer.test_play_twice - 22s
|
|
|
|
VALGRIND_SKIPLIST: >
|
|
|
|
-b check.[a-z-]*.generic_states.test_state_changes_down_seq
|
|
|
|
-b check.[a-z-]*.generic_states.test_state_changes_up_seq
|
|
|
|
-b check.gstreamer.gst_gstelement.test_foreach_pad
|
|
|
|
-b check.gstreamer.gst_gstinfo.info_post_gst_init_category_registration
|
|
|
|
-b check.gstreamer.gst_gstsystemclock.test_resolution
|
|
|
|
-b check.gstreamer.libs_aggregator.test_infinite_seek
|
|
|
|
-b check.gstreamer.libs_aggregator.test_infinite_seek_50_src
|
|
|
|
-b check.gstreamer.libs_gstharness.test_harness_element_ref
|
|
|
|
-b check.gstreamer.pipelines_simple_launch_lines.test_2_elements
|
|
|
|
-b check.gstreamer.pipelines_stress.test_stress
|
|
|
|
-b check.gstreamer.pipelines_stress.test_stress_preroll
|
|
|
|
-b check.gst-plugins-base.elements_appsrc.test_appsrc_block_deadlock
|
|
|
|
-b check.gst-plugins-base.elements_audioresample.test_fft
|
|
|
|
-b check.gst-plugins-base.elements_audioresample.test_timestamp_drift
|
|
|
|
-b check.gst-plugins-base.elements-videoscale
|
|
|
|
-b check.gst-plugins-base.libs_video.test_overlay_blend
|
|
|
|
-b check.gst-plugins-base.libs_video.test_video_color_convert
|
|
|
|
-b check.gst-plugins-base.libs_video.test_video_formats
|
|
|
|
-b check.gst-plugins-base.libs_video.test_video_size_convert
|
|
|
|
-b check.gst-plugins-base.elements_audiointerleave.test_audiointerleave_2ch_pipeline_
|
|
|
|
-b check.gst-plugins-base.elements_multifdsink.test_client_kick
|
|
|
|
-b check.gst-plugins-base.elements_videotestsrc.test_all_patterns
|
|
|
|
-b check.gst-plugins-base.elements_videotestsrc.test_patterns_are_deterministic
|
|
|
|
-b check.gst-plugins-good.elements_shapewipe.test_general
|
|
|
|
-b check.gst-plugins-good.elements_videocrop.test_cropping
|
|
|
|
-b check.gst-plugins-good.elements_videomixer
|
|
|
|
-b check.gst-plugins-good.elements_rtp_payloading.rtp_jpeg_packet_loss
|
|
|
|
-b check.gst-plugins-good.elements_videomixer.test_play_twice_then_add_and_play_again
|
|
|
|
-b check.gst-plugins-good.pipelines_effectv.test_quarktv
|
|
|
|
-b check.gst-plugins-good.elements_deinterlace.test_mode_disabled_passthrough
|
|
|
|
-b check.gst-plugins-good.elements_deinterlace.test_mode_auto_deinterlaced_passthrough
|
|
|
|
-b check.gst-plugins-good.elements_deinterleave.test_2_channels_caps_change
|
|
|
|
-b check.gst-plugins-good.elements_deinterleave.test_2_channels
|
|
|
|
-b check.gst-plugins-good.elements_rtpjitterbuffer.test_fill_queue
|
|
|
|
-b check.gst-plugins-good.elements_splitmux.test_splitmuxsink_async
|
|
|
|
-b check.gst-plugins-good.elements_videomixer.test_play_twice
|
|
|
|
# - check.gst-plugins-good.elements_rtpjitterbuffer.test_push_* - flaky in valgrind
|
|
|
|
# - check.gst-plugins-base.pipelines_gl_launch_lines - driver leaks / memory access
|
|
|
|
# - check.gst-plugins-base.libs_gstgl - driver leaks / memory access
|
|
|
|
# - check.gst-plugins-base.elements_gl - driver leaks / memory access
|
|
|
|
# - check.gst-plugins-base.elements_libvisual - uninitialized memory access
|
|
|
|
# - check.gst-plugins-base.generic_states - need to add gl elements to ignore list but only if using valgrind
|
|
|
|
VALGRIND_BLACKLIST: >
|
|
|
|
-b check.gstreamer.gst_gstsystemclock.test_stress_cleanup_unschedule
|
|
|
|
-b check.gstreamer.gst_gstsystemclock.test_stress_reschedule
|
|
|
|
-b check.gstreamer.tools_gstinspect
|
|
|
|
-b check.gst-plugins-base.elements_videoscale
|
|
|
|
-b check.gst-plugins-base.pipelines_gl_launch_lines
|
|
|
|
-b check.gst-plugins-base.libs_gstgl
|
|
|
|
-b check.gst-plugins-base.elements_gl
|
|
|
|
-b check.gst-plugins-base.elements_libvisual
|
|
|
|
-b check.gst-plugins-base.generic_states
|
|
|
|
-b check.gst-plugins-good.elements_rtpjitterbuffer.test_push_backward_seq
|
|
|
|
-b check.gst-plugins-good.elements_rtpjitterbuffer.test_push_unordered
|
|
|
|
-b check.gst-plugins-bad.elements_assrender
|
|
|
|
-b check.gst-plugins-bad.elements_camerabin
|
|
|
|
-b check.gst-plugins-bad.elements_line21
|
|
|
|
-b check.gst-plugins-bad.elements_mpeg2enc
|
|
|
|
-b check.gst-plugins-bad.elements_mplex
|
|
|
|
-b check.gst-plugins-bad.elements_mxfmux
|
|
|
|
-b check.gst-plugins-bad.elements_x265enc
|
|
|
|
-b check.gst-plugins-bad.elements_zbar
|
|
|
|
-b check.gst-libav.generic_plugin_test
|
|
|
|
-b check.gst-libav.generic_libavcodec_locking
|
|
|
|
-b check.gst-libav.elements_avdemux_ape
|
|
|
|
EXTRA_VALIDATE_ARGS: "--valgrind ${VALGRIND_BLACKLIST} ${VALGRIND_SKIPLIST}"
|
|
|
|
ORC_CODE: "backup"
|
|
|
|
# Some suppression files are missing a newline at the end which messes things
|
|
|
|
# up when concatenating them. awk will add missing newlines (unlike cat)
|
|
|
|
|
|
|
|
valgrind core:
|
|
|
|
extends: '.valgrind fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gstreamer\\..*"
|
2019-03-21 21:39:03 +00:00
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "gstreamer"
|
2019-03-06 19:01:48 +00:00
|
|
|
|
|
|
|
valgrind base:
|
|
|
|
extends: '.valgrind fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gst-plugins-base\\..*"
|
2019-03-21 21:39:03 +00:00
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base)$/
|
2019-03-06 19:01:48 +00:00
|
|
|
|
|
|
|
valgrind good:
|
|
|
|
extends: '.valgrind fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gst-plugins-good\\..*"
|
2019-03-21 21:39:03 +00:00
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base|gst-plugins-good)$/
|
2019-03-06 19:01:48 +00:00
|
|
|
|
|
|
|
valgrind ugly:
|
|
|
|
extends: '.valgrind fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gst-plugins-ugly\\..*"
|
2019-03-21 21:39:03 +00:00
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base|gst-plugins-ugly)$/
|
2019-03-06 19:01:48 +00:00
|
|
|
|
|
|
|
valgrind bad:
|
|
|
|
extends: '.valgrind fedora x86_64'
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "check.gst-plugins-bad\\..*"
|
2019-03-21 21:39:03 +00:00
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME =~ /^(gstreamer|gst-plugins-base|gst-plugins-good|gst-plugins-bad)$/
|
2019-03-06 19:01:48 +00:00
|
|
|
|
|
|
|
|
2018-11-16 02:47:34 +00:00
|
|
|
# Template for Cerbero GStreamer Build
|
|
|
|
#
|
|
|
|
# Parameters:
|
|
|
|
# CONFIG: The name of the configuration file to use
|
|
|
|
#
|
|
|
|
# Produces runtime and devel tarball packages.
|
|
|
|
.cerbero:
|
|
|
|
stage: "full builds"
|
2018-12-18 02:58:39 +00:00
|
|
|
image: $CERBERO_IMAGE
|
2018-11-16 02:47:34 +00:00
|
|
|
dependencies:
|
|
|
|
- "manifest"
|
|
|
|
variables:
|
|
|
|
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
|
|
|
|
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
|
2018-12-09 02:35:26 +00:00
|
|
|
CCACHE_MAXSIZE: "1.7G"
|
2018-11-16 02:47:34 +00:00
|
|
|
CERBERO_HOME: "${CI_PROJECT_DIR}/cerbero-build"
|
|
|
|
CERBERO_SOURCES: "${CI_PROJECT_DIR}/cerbero-sources"
|
|
|
|
CERBERO_DEPS: "cerbero-deps.tar.gz"
|
2019-03-11 09:12:01 +00:00
|
|
|
CERBERO_ARGS: "${DEFAULT_CERBERO_ARGS}"
|
|
|
|
CERBERO: "./cerbero-uninstalled -c config/${CONFIG} -c localconf.cbc -m manifest.xml"
|
2018-11-16 02:47:34 +00:00
|
|
|
before_script:
|
|
|
|
# FIXME Wrong namespace
|
2019-01-10 09:39:13 +00:00
|
|
|
# Workaround build-tools having hardcoded internal path
|
2018-11-16 02:47:34 +00:00
|
|
|
- mkdir -p /builds/gstreamer
|
|
|
|
- ln -sf ${CI_PROJECT_DIR} /builds/gstreamer/cerbero
|
|
|
|
- rsync -aH /cerbero/ .
|
|
|
|
- test -f ${CERBERO_DEPS} && tar -C ${CERBERO_HOME} -xf ${CERBERO_DEPS}
|
|
|
|
- echo "home_dir = \"${CERBERO_HOME}\"" >> localconf.cbc
|
|
|
|
- echo "local_sources = \"${CERBERO_SOURCES}\"" >> localconf.cbc
|
|
|
|
- ./cerbero-uninstalled --self-update manifest.xml
|
|
|
|
- ccache -z
|
|
|
|
script:
|
2019-03-11 09:12:01 +00:00
|
|
|
- $CERBERO $CERBERO_ARGS show-config
|
|
|
|
- $CERBERO $CERBERO_ARGS fetch-bootstrap --build-tools-only
|
|
|
|
- $CERBERO $CERBERO_ARGS fetch-package --deps gstreamer-1.0
|
|
|
|
- $CERBERO $CERBERO_ARGS fetch-cache
|
|
|
|
- $CERBERO $CERBERO_ARGS bootstrap --offline --build-tools-only
|
|
|
|
- $CERBERO $CERBERO_ARGS package --offline -t -o ${CI_PROJECT_DIR} gstreamer-1.0
|
2018-11-16 02:47:34 +00:00
|
|
|
- ccache -s
|
2019-03-03 21:57:16 +00:00
|
|
|
except:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "gst-build"
|
2018-11-16 02:47:34 +00:00
|
|
|
cache:
|
2018-12-18 02:58:39 +00:00
|
|
|
key: "${CI_JOB_NAME}"
|
2018-11-16 02:47:34 +00:00
|
|
|
paths:
|
|
|
|
- "${CCACHE_DIR}"
|
|
|
|
- "${CERBERO_SOURCES}"
|
|
|
|
artifacts:
|
|
|
|
name: "${CI_JOB_NAME}_${CI_COMMIT_SHA}"
|
2018-12-14 12:09:10 +00:00
|
|
|
expire_in: '5 days'
|
2018-11-16 02:47:34 +00:00
|
|
|
when: 'always'
|
|
|
|
paths:
|
|
|
|
- "manifest.xml"
|
|
|
|
- "cerbero-build/logs"
|
|
|
|
- "*.tar.bz2"
|
|
|
|
|
|
|
|
# Template for Cerbero GStreamer Deps
|
|
|
|
#
|
|
|
|
# This template is used by cerbero/ project to pre-built the GStreamer
|
|
|
|
# depedencies. When available, the .cerbero jobs will download this artifact
|
|
|
|
# in order to speed up the build.
|
|
|
|
#
|
|
|
|
# Parameters:
|
|
|
|
# CONFIG: The name of the configuration file to use
|
2019-01-08 18:22:02 +00:00
|
|
|
# ARCH: The cerbero <os>_<cpu> (used in cache key)
|
2018-11-16 02:47:34 +00:00
|
|
|
#
|
2018-12-18 02:58:39 +00:00
|
|
|
# Produce an artifact with the dist/ and .cache along
|
2018-11-16 02:47:34 +00:00
|
|
|
# with the associated build-tools.
|
|
|
|
.cerbero deps:
|
|
|
|
extends: .cerbero
|
|
|
|
stage: "build"
|
|
|
|
script:
|
2019-03-11 09:12:01 +00:00
|
|
|
- $CERBERO $CERBERO_ARGS show-config
|
|
|
|
- $CERBERO $CERBERO_ARGS fetch-bootstrap --build-tools-only
|
|
|
|
- $CERBERO $CERBERO_ARGS fetch-package --deps gstreamer-1.0
|
|
|
|
- $CERBERO $CERBERO_ARGS bootstrap --offline --build-tools-only
|
|
|
|
- $CERBERO $CERBERO_ARGS build-deps --offline
|
2018-11-16 02:47:34 +00:00
|
|
|
gstreamer-1.0 gst-plugins-base-1.0 gst-plugins-good-1.0
|
|
|
|
gst-plugins-bad-1.0 gst-plugins-ugly-1.0 gst-rtsp-server-1.0
|
|
|
|
gst-libav-1.0 gst-validate gst-editing-services-1.0 libnice
|
2019-03-11 09:12:01 +00:00
|
|
|
- $CERBERO $CERBERO_ARGS fetch-cache --skip-fetch --job-id=${CI_JOB_ID}
|
2018-11-16 02:47:34 +00:00
|
|
|
- tar -C ${CERBERO_HOME} -czf $CERBERO_DEPS
|
2019-01-08 18:22:02 +00:00
|
|
|
build-tools build-tools.cache
|
|
|
|
dist/${ARCH} ${ARCH}.cache
|
2018-11-16 02:47:34 +00:00
|
|
|
- ccache -s
|
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
|
|
|
artifacts:
|
|
|
|
name: "${CI_JOB_NAME}_${CI_COMMIT_SHA}"
|
|
|
|
expire_in: '10 days'
|
|
|
|
when: 'always'
|
|
|
|
paths:
|
|
|
|
- "manifest.xml"
|
|
|
|
- "cerbero-build/logs"
|
|
|
|
- "cerbero-build/cerbero-deps.log"
|
|
|
|
- "${CERBERO_DEPS}"
|
|
|
|
|
2018-12-18 02:58:39 +00:00
|
|
|
#
|
|
|
|
# Cerbero Linux X86_64 build
|
|
|
|
#
|
2019-03-13 01:33:58 +00:00
|
|
|
cerbero deps fedora x86_64:
|
|
|
|
extends: '.cerbero deps'
|
2018-11-16 02:47:34 +00:00
|
|
|
variables:
|
|
|
|
CONFIG: "linux.config"
|
2019-03-13 01:33:58 +00:00
|
|
|
ARCH: "linux_x86_64"
|
2018-11-16 02:47:34 +00:00
|
|
|
|
2019-03-13 01:33:58 +00:00
|
|
|
.cerbero fedora x86_64:
|
|
|
|
extends: '.cerbero'
|
2018-12-09 20:11:35 +00:00
|
|
|
variables:
|
|
|
|
CONFIG: "linux.config"
|
|
|
|
|
2019-03-13 01:33:58 +00:00
|
|
|
cerbero fedora x86_64:
|
|
|
|
extends: '.cerbero fedora x86_64'
|
|
|
|
dependencies:
|
|
|
|
- "cerbero deps fedora x86_64"
|
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
|
|
|
|
2018-12-09 23:19:06 +00:00
|
|
|
build cerbero fedora x86_64:
|
2019-03-13 01:33:58 +00:00
|
|
|
extends: '.cerbero fedora x86_64'
|
|
|
|
except:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
2019-04-02 12:27:59 +00:00
|
|
|
- $CI_PROJECT_NAME == "gst-build"
|
2019-03-13 01:33:58 +00:00
|
|
|
|
2018-12-18 02:58:39 +00:00
|
|
|
|
2018-12-18 02:58:39 +00:00
|
|
|
#
|
|
|
|
# Cerbero Android Universal build
|
|
|
|
#
|
|
|
|
cerbero deps android universal:
|
|
|
|
extends: '.cerbero deps'
|
|
|
|
variables:
|
2019-03-12 01:32:15 +00:00
|
|
|
CERBERO_ARGS: "${DEFAULT_CERBERO_ARGS} -v nowerror"
|
2018-12-18 02:58:39 +00:00
|
|
|
CONFIG: "cross-android-universal.cbc"
|
|
|
|
ARCH: "android_universal"
|
|
|
|
|
|
|
|
.cerbero android universal:
|
|
|
|
extends: '.cerbero'
|
|
|
|
variables:
|
2019-03-12 01:32:15 +00:00
|
|
|
CERBERO_ARGS: "${DEFAULT_CERBERO_ARGS} -v nowerror"
|
2018-12-18 02:58:39 +00:00
|
|
|
CONFIG: "cross-android-universal.cbc"
|
|
|
|
|
|
|
|
cerbero android universal:
|
|
|
|
extends: '.cerbero android universal'
|
|
|
|
dependencies:
|
|
|
|
- "cerbero deps android universal"
|
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
|
|
|
|
|
|
|
build cerbero android universal:
|
|
|
|
extends: '.cerbero android universal'
|
|
|
|
except:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
2019-04-02 12:27:59 +00:00
|
|
|
- $CI_PROJECT_NAME == "gst-build"
|
2018-12-18 02:58:39 +00:00
|
|
|
|
2018-12-18 02:58:39 +00:00
|
|
|
#
|
|
|
|
# Cerbero Cross Windows builds
|
|
|
|
#
|
2019-03-13 01:33:58 +00:00
|
|
|
cerbero deps windows x86:
|
|
|
|
extends: '.cerbero deps'
|
2018-12-18 02:58:39 +00:00
|
|
|
variables:
|
|
|
|
CONFIG: "cross-win32.cbc"
|
2019-03-13 01:33:58 +00:00
|
|
|
ARCH: "windows_x86"
|
2018-12-18 02:58:39 +00:00
|
|
|
|
2019-03-13 01:33:58 +00:00
|
|
|
.cerbero cross win32:
|
|
|
|
extends: '.cerbero'
|
2018-12-18 02:58:39 +00:00
|
|
|
variables:
|
|
|
|
CONFIG: "cross-win32.cbc"
|
2019-03-13 01:33:58 +00:00
|
|
|
|
|
|
|
cerbero cross win32:
|
|
|
|
extends: '.cerbero cross win32'
|
|
|
|
dependencies:
|
|
|
|
- "cerbero deps windows x86"
|
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
2018-12-18 02:58:39 +00:00
|
|
|
|
|
|
|
build cerbero cross win32:
|
2019-03-13 01:33:58 +00:00
|
|
|
extends: '.cerbero cross win32'
|
|
|
|
except:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
2019-04-02 12:27:59 +00:00
|
|
|
- $CI_PROJECT_NAME == "gst-build"
|
2018-12-18 02:58:39 +00:00
|
|
|
|
2019-03-13 01:33:58 +00:00
|
|
|
cerbero deps windows x86_64:
|
|
|
|
extends: '.cerbero deps'
|
2018-12-18 02:58:39 +00:00
|
|
|
variables:
|
|
|
|
CONFIG: "cross-win64.cbc"
|
2019-03-13 01:33:58 +00:00
|
|
|
ARCH: "windows_x86_64"
|
2018-12-18 02:58:39 +00:00
|
|
|
|
2019-03-13 01:33:58 +00:00
|
|
|
.cerbero cross win64:
|
|
|
|
extends: '.cerbero'
|
2018-12-18 02:58:39 +00:00
|
|
|
variables:
|
|
|
|
CONFIG: "cross-win64.cbc"
|
2019-03-13 01:33:58 +00:00
|
|
|
|
|
|
|
cerbero cross win64:
|
|
|
|
extends: '.cerbero cross win64'
|
|
|
|
dependencies:
|
|
|
|
- "cerbero deps windows x86_64"
|
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
2018-12-18 02:58:39 +00:00
|
|
|
|
|
|
|
build cerbero cross win64:
|
2019-03-13 01:33:58 +00:00
|
|
|
extends: '.cerbero cross win64'
|
|
|
|
except:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
2019-04-02 12:27:59 +00:00
|
|
|
- $CI_PROJECT_NAME == "gst-build"
|
2019-03-24 06:56:01 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Build an Android App using the android binaries
|
|
|
|
#
|
|
|
|
.android universal examples:
|
|
|
|
image: $ANDROID_IMAGE
|
|
|
|
stage: 'apps'
|
|
|
|
variables:
|
|
|
|
EXAMPLES_HOME: ${CI_PROJECT_DIR}/examples
|
|
|
|
GSTREAMER_ROOT_ANDROID: ${CI_PROJECT_DIR}/examples/cerbero-android-universal
|
|
|
|
script:
|
2019-03-28 01:15:18 +00:00
|
|
|
- mkdir -p ${EXAMPLES_HOME}/outputs
|
2019-03-24 06:56:01 +00:00
|
|
|
- curl -o clone_manifest_ref.py https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/master/gitlab/clone_manifest_ref.py
|
|
|
|
- chmod +x clone_manifest_ref.py
|
|
|
|
- ./clone_manifest_ref.py --manifest manifest.xml --project gst-examples --destination ${EXAMPLES_HOME}/gst-examples
|
2019-03-28 00:25:05 +00:00
|
|
|
- ./clone_manifest_ref.py --manifest manifest.xml --project gst-docs --destination ${EXAMPLES_HOME}/gst-docs
|
2019-03-24 06:56:01 +00:00
|
|
|
- rm clone_manifest_ref.py
|
|
|
|
|
|
|
|
# extract our binaries
|
|
|
|
- rm -f gstreamer-1.0-android-universal-*-runtime.tar.bz2
|
|
|
|
- mkdir ${GSTREAMER_ROOT_ANDROID}
|
|
|
|
- tar -C ${GSTREAMER_ROOT_ANDROID} -xf gstreamer-1.0-android-universal-*.tar.bz2
|
|
|
|
|
2019-03-28 01:15:18 +00:00
|
|
|
# gst-examples
|
2019-03-24 06:56:01 +00:00
|
|
|
- chmod +x ${EXAMPLES_HOME}/gst-examples/playback/player/android/gradlew
|
|
|
|
- ${EXAMPLES_HOME}/gst-examples/playback/player/android/gradlew --no-search-upward --no-daemon --project-dir ${EXAMPLES_HOME}/gst-examples/playback/player/android assembleDebug
|
2019-03-28 01:15:18 +00:00
|
|
|
- cp ${EXAMPLES_HOME}/gst-examples/playback/player/android/app/build/outputs/apk/debug/*.apk ${EXAMPLES_HOME}/outputs/
|
|
|
|
|
|
|
|
# gst-docs android tutorials
|
2019-03-28 00:25:05 +00:00
|
|
|
- chmod +x ${EXAMPLES_HOME}/gst-docs/examples/tutorials/android/gradlew
|
|
|
|
- ${EXAMPLES_HOME}/gst-docs/examples/tutorials/android/gradlew --no-search-upward --no-daemon --project-dir ${EXAMPLES_HOME}/gst-docs/examples/tutorials/android assembleDebug
|
2019-03-28 01:15:18 +00:00
|
|
|
- cp ${EXAMPLES_HOME}/gst-docs/examples/tutorials/android/android-tutorial-*/build/outputs/apk/debug/*.apk ${EXAMPLES_HOME}/outputs/
|
2019-03-24 06:56:01 +00:00
|
|
|
after_script:
|
|
|
|
- rm -rf ${GSTREAMER_ROOT_ANDROID}
|
2019-03-28 01:15:18 +00:00
|
|
|
- rm -rf ${EXAMPLES_HOME}/gst-examples ${EXAMPLES_HOME}/gst-docs
|
2019-03-24 06:56:01 +00:00
|
|
|
artifacts:
|
|
|
|
name: "${CI_JOB_NAME}_${CI_COMMIT_SHA}"
|
|
|
|
expire_in: '5 days'
|
|
|
|
when: 'always'
|
|
|
|
paths:
|
|
|
|
- "manifest.xml"
|
2019-03-28 01:15:18 +00:00
|
|
|
- "${EXAMPLES_HOME}/outputs"
|
2019-03-24 06:56:01 +00:00
|
|
|
|
|
|
|
android universal examples:
|
|
|
|
extends: ".android universal examples"
|
|
|
|
dependencies:
|
|
|
|
- "build cerbero android universal"
|
|
|
|
except:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|
2019-04-02 12:27:59 +00:00
|
|
|
- $CI_PROJECT_NAME == "gst-build"
|
2019-04-04 10:32:46 +00:00
|
|
|
- $CI_PROJECT_NAME == "gst-integration-testsuites"
|
2019-03-24 06:56:01 +00:00
|
|
|
|
|
|
|
cerbero android universal examples:
|
|
|
|
extends: ".android universal examples"
|
|
|
|
dependencies:
|
|
|
|
- "cerbero android universal"
|
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_PROJECT_NAME == "cerbero"
|