Commit graph

528 commits

Author SHA1 Message Date
Jordan Petridis
bd66c756ef
citemplate: Tag test jobs to only run on the dedicated runners
Avoid spreading the jobs on lower power runners which ends
up trippling the execution time of the testsuites and/or timing out.
2019-11-07 11:54:29 +01:00
Thibault Saunier
b0b76594c3 docker: Stop using mdv and use bat to colorize markdown 2019-11-06 15:43:11 +00:00
Thibault Saunier
c8d0102561 Revert "gitlab: Set COLUMNS and width variable to make terminal_markdown_view happy"
This reverts commit 157f94fb62.
2019-11-06 15:43:11 +00:00
Víctor Manuel Jáquez Leal
e8abe05e02 ci_template: remove gstreamer-vaapi control in test tag
Since now gstreamer-vaapi is blacklisted in
validate (https://gitlab.freedesktop.org/gstreamer/gst-devtools/merge_requests/134)
there is no need to make exceptions in the CI. This patch removes
those exceptions.
2019-10-25 17:38:43 +02:00
Jordan Petridis
20c2bb8080
ci_template: refresh the docker images used for the CI 2019-10-24 15:13:03 +03:00
Jordan Petridis
2a5d767424 ci_template: update the fedora image to a newer build
Among other things, it includes the wpe dependencies !148 and
glslc !145
2019-10-22 13:44:35 +00:00
U. Artie Eoff
32e64c4ac3 ci_template: avoid check.gstreamer-vaapi
Check tests are being added to gstreamer/gstreamer-vaapi!181.
However, gstreamer-vaapi inherently requires specific hardware
drivers and platforms to function.  The CI does not provide this
level of driver/platform selection.  Thus, avoid running any
check tests in gstreamer-vaapi.
2019-10-09 08:37:20 -07:00
Jordan Petridis
92709d5542
ci_template: Add an auto-retry policy
Its common that docker will throw transient errors, especially
on the windows runner. If such the case, automatically retry
the job.
2019-09-24 08:19:44 +03:00
Matthew Waters
bcb1ae6cf2 Revert "docker/cerbero/fedora install openssl-devel libraries"
This reverts commit 4a8beec410.
2019-09-24 12:55:54 +10:00
Matthew Waters
62ec9173e6 gitlab: update cerbero docker image used 2019-09-24 12:55:54 +10:00
Matthew Waters
4a8beec410 docker/cerbero/fedora install openssl-devel libraries
Temporary workaround until cerbero installs the library itself
2019-09-24 11:40:08 +10:00
Jordan Petridis
e1d7b721e0 docker: improve logging of the setup scripts 2019-09-23 10:54:40 +00:00
Jordan Petridis
d08496b142 docker/fedora: install debuginfo for python3-libs as well 2019-09-23 10:54:40 +00:00
Jordan Petridis
1e063c8539 .gitlab-ci.yml: Rename the UID variable in the docker build job
UID is a read-only protected variable in bash 5.0+
2019-09-23 10:54:40 +00:00
Jordan Petridis
c98b4accb3 .gitlab-ci.yml: export artifacts for the fedora build job
20f5d7d646 stopped exporting artifacts
from the .build template which broke the local jobs since they
no longer exported the builddir.
2019-09-23 10:54:40 +00:00
Jordan Petridis
470b151620 fedora/docker: remove the fedora openh264 package
The cisco repository has been problematic for a while causing
dnf to error due to some gpg issue and break the pipe in non-interactive
ttys.

```
Importing GPG key 0xCFC659B9:
 Userid     : "Fedora (30) <fedora-30-primary@fedoraproject.org>"
 Fingerprint: F1D8 EC98 F241 AAF2 0DF6 9420 EF3C 111F CFC6 59B9
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-x86_64
The command '/bin/sh -c /usr/bin/sh /root/prepare.sh &&     /usr/bin/sh /root/cleanup.sh' returned a non-zero code: 141
```

https://gitlab.freedesktop.org/gstreamer/gst-ci/-/jobs/573870

We do have a meson subproject for openh264 nowdays in gst-build
and it will get enabled automatically once the distro package
is no longer there.
2019-09-23 10:54:40 +00:00
Matthew Waters
5acede7214 gitlab: build the ios examples in the cerbero repository 2019-09-13 10:48:04 +10:00
Nirbheek Chauhan
17fc9a66d4 gitlab: Rename all cross jobs to have a cross- prefix
For consistency, and to differentiate, f.ex., cross-windows jobs from
native windows jobs.
2019-09-11 13:32:56 +05:30
Nirbheek Chauhan
53abd5e8fd gitlab: Windows Cerbero jobs are cross
Change the name to avoid confusion.
2019-09-10 14:47:41 +05:30
Matthew Waters
ed5343d3ce gitlab: remove needs from ios examples job
needs and manual jobs do not really get along
https://gitlab.com/gitlab-org/gitlab-ce/issues/66602
2019-09-10 17:45:17 +10:00
Matthew Waters
c6420d9164 gitlab: add ios app build testing 2019-09-08 22:48:18 +10:00
Edward Hervey
c732a9234c docker: Upgrade cerbero image to use fedora 30 2019-09-05 17:25:37 +02:00
Jordan Petridis
20f5d7d646
ci_template: Only export artifacts for the main fedora build job
We are only using the builddir of the main fedora job to run
tests, the rest where exported by accident. Its especially
problematic cause static build eat a bunch of space and take
an eternity to be uploaded.

Part of #32
2019-09-02 14:52:35 +03:00
Thibault Saunier
6e39d68c4e ci: Cleanup gst-docs build
Make sure to build against the plain fedora build and avoid
building useless things when inside gst-docs
2019-08-30 09:09:39 -04:00
Víctor Manuel Jáquez Leal
11ff98a757 gitlab: no need of vaapi nor omx on windows builds 2019-08-30 12:26:06 +02:00
Matthew Waters
5a5f9dbb86 gitlab: enable werror for macos builds 2019-08-30 11:57:06 +10:00
Matthew Waters
ee61416998 gitlab: enable werror for android universal builds 2019-08-28 11:46:29 +00:00
Matthew Waters
1b48188e20 gitlab: add a clang gst-build job 2019-08-28 03:56:40 +00:00
Matthew Waters
a596162ab5 gitlab: use the new needs yaml key
Allows implementing a DAG where a dependant job can be built before the
entirety of the previous stage has completed.
2019-08-28 11:01:18 +10:00
Matthew Waters
e5228dc810 gitlab: renable gst-build werror after msvc CI merge
31cec0a245 removed --werror from the
default meson args but did not add it back in all the correct places
2019-08-26 21:58:24 +10:00
Jordan Petridis
072cf0122a docker/windows: refactorings to get it to work with the new runner
* Install git-lfs as its required now by gst-integration-suites
* Clone gst-build eache time to avoid dated gst-build checkouts
and overwritting .wrap files. Similar to !137
* Split the dockerfile and add a second run stage refresh the
powershell env inbetween calls
* Remove the msys2 workaround as its not needed anymore
2019-08-16 17:17:01 +00:00
Xavier Claessens
31cec0a245 Add Windows MSVC and MSYS2 builds
This adds 3 new jobs that build against msys2 x86_64, msvc 2017 x86
and msvc 2017 x86_64. For the msvc build, some subprojects (like libnice)
don't satisfy all their deps, and are getting automatically disabled.

This doesn't add jobs that run the test suite also. Will hopefully
get implemented later on.
2019-08-16 17:17:01 +00:00
Xavier Claessens
fd89f33d88 Do not specify the compiler to use
Meson will autodetect ccache when available, and we don't always have
gcc available (upcoming MSVC job).
2019-08-16 17:17:00 +00:00
Thibault Saunier
157f94fb62 gitlab: Set COLUMNS and width variable to make terminal_markdown_view happy 2019-08-09 11:36:00 -04:00
Philippe Normand
f4be784078 docker/fedora: Enable WPEWebKit support
These dependencies should enable the WPE plugin build in -bad.

See https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/839
2019-08-08 15:31:28 +00:00
Thibault Saunier
47d07c4899 Move to Fedora 30 2019-08-07 19:41:12 +00:00
Jordan Petridis
7e88d99f95 docker/fedora: avoid hardcoding the fedora version in the setup script 2019-07-15 09:13:29 +00:00
Matthew Waters
a110f8399e docker/fedora: add glslc to the install list
Enables building the vulkan plugin with shaders
2019-07-05 13:21:29 +10:00
Matthew Waters
a774ea6ce9 gitlab/cerbero: use the correct branch on fetch-cache 2019-06-20 14:48:52 +10:00
Matthew Waters
545b023050 gitlab: make non-cerbero iOS build manual 2019-06-16 13:51:39 +10:00
Matthew Waters
7c344aeb17 Revert "CI: Disable build cerbero ios universal"
This reverts commit 34cb58f294.
2019-06-16 13:50:23 +10:00
Nicolas Dufresne
34cb58f294 CI: Disable build cerbero ios universal
This fails because the master CI of cerbero/ never passed with, as a
result an older cerbero is being used.

Related to #29
2019-06-15 16:49:49 -04:00
Matthew Waters
802dd4eb2b add iOS CI 2019-06-13 20:59:52 +10:00
Matthew Waters
a9cd95f7ba gitlab: consolidate stages
This now optimizes for a successful build.
2019-06-13 06:08:01 +00:00
Matthew Waters
f00192da0c gitlab: update android docker image to the latest 2019-06-13 01:00:04 +10:00
Matthew Waters
ef82e5a971 docker/android: cache gradle deps inside the docker image 2019-06-12 14:50:02 +10:00
Matthew Waters
292f9a4250 gst-build: clone gst-build directly instead of relying on the docker version
The git-update that is performed attempts to update gst-build however
will not use the updated git-update script for further operations.  This
causes the CI to not use any updates to the git-update which is always
stuck on the version provided by the backing docker image.
2019-06-11 16:44:53 +10:00
Tim-Philipp Müller
142f24043d gitlab/ci_template: only run valgrind for MRs not master and stable branches
The valgrind runs are there to spot obvious problems during the dev phase,
not sure we really need to run them in full after each merge.

Should reduce load on the build bots a little.

If any problems slip in they will be picked up soon enough by
the MR jobs again.
2019-06-07 17:34:36 +00:00
Nicolas Dufresne
69656b287c gitlab: Update cerbero docker to the new MingW 2019-06-07 10:15:06 -04:00
Nicolas Dufresne
8a20ec0606 docker: cerbero: Fix for mingw tarball rename 2019-06-06 15:42:29 -04:00