Commit graph

129 commits

Author SHA1 Message Date
Jordan Petridis
b857a5ada1 citemplate: add initial cerbero msvc builds
This commit adds the last bits needed to have a working
CI job of cerbero using mingw and msvc17 toolchain.

It adds a new stage to the docker image that mirrors
the setup of the cerbero fedora docker build, and
tweaks the cerbero_setup script run by jobs with
a couple windows specific fixes.

Close #39

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/334>
2020-09-16 20:56:14 +03:00
Jordan Petridis
fd7b78a918 docker/fedora: install more debug symbols
These are needed for the webrtcbin tests

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/339>
2020-09-15 16:24:51 +03:00
Jordan Petridis
894e72ee87 docker/windows: move the git user config outside the script
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/333>
2020-09-14 17:36:54 +00:00
Jordan Petridis
800c46e67c docker/windows: tweak installation of git
Make sure we set autocrlf to false, which is needed by cerbero.
Additionally remove useless for the container integrations with
the shell.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/333>
2020-09-14 17:36:54 +00:00
Jordan Petridis
0f50f3901e cerbero/fedora: install which into the image
We used to get this as transient dependency it seems,
which broke rebuilds of the img once w/e pkg was
depending on it, stopped.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/338>
2020-09-10 01:01:30 +03:00
Jordan Petridis
a892850eb2 docker/fedora: update base to fedora 31
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/271>
2020-07-23 06:58:10 +00:00
Jordan Petridis
4fd36e5d73 docker/fedora: add gtest to get openh264 to build again
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/315>
2020-07-03 16:38:46 +03:00
Guillaume Desmottes
0a085866ae docker: move gst-indent script into docker image
This script is now very stable, so downloading it everytime is no longer useful.
It can also helps avoid network errors when running ci jobs.

Fix #70

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/306>
2020-06-29 17:12:00 +03:00
Jordan Petridis
87208fdf53 docker/fedora: update rust toolchain to 1.44
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/308>
2020-06-26 12:14:28 +00:00
Jordan Petridis
4bacfa410c docker/fedora: update meson version to 0.54.3
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/308>
2020-06-26 12:14:28 +00:00
Jordan Petridis
869fa72595 docker/windows: update msys snapshot
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/297>
2020-06-16 01:54:02 +05:30
Tim-Philipp Müller
a36ac34d49 docker: fedora: install nasm properly
Add it to install list not debuginfo-install list.

Should make openh264 subproject work in gst-build builds.

Fixes #76

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/301>
2020-06-04 21:55:09 +00:00
Thibault Saunier
c83578dcd2 Revert "docker: install intel-mediasdk on Fedora image"
This is not available on F30

This reverts commit 9405f9245b.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/299>
2020-06-04 16:01:21 +00:00
Thibault Saunier
3e7e6615b6 gitlab: Ensure devhelp files are installed
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/299>
2020-06-04 16:01:21 +00:00
Thibault Saunier
99830c2bee Revert "docker: fedora: update to Fedora 31"
This is unused yet because it breaks some things

This reverts commit d016fa7453.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/299>
2020-06-04 16:01:21 +00:00
Philippe Normand
61c1680b07 docker/fedora: Remove WPEBackend-FDO
It should now be built as a gst-build subproject. The version in Fedora is not
suitable for CI tests.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/292>
2020-05-14 08:49:47 +00:00
Matthew Waters
95b35ceaf1 android: update to gradle 5.6.4 without --no-search-upwards
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/291>
2020-05-09 00:04:23 +10:00
Matthew Waters
c23bdae050 ci: run CI for the new vulkan android example
HACK: pointing to user repo
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/291>
2020-05-09 00:04:17 +10:00
Jordan Petridis
b8fa6db873 docker/windows: add script to build the image with the correct branch and tag
also move the default_branch arg later in the dockerfile to
avoid invalidating previous layers

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/287>
2020-04-27 15:49:32 +00:00
Jordan Petridis
edac99f441 windows/docker: allow to specify the branch to pull for gst-build
Similar to !232

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/285>
2020-04-27 08:03:54 +00:00
Matthew Waters
38719d0aef docker: remove unused Dockerfiles
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/286>
2020-04-24 14:17:04 +10:00
Jordan Petridis
ae1b75b51f
windows: switch the image tag to ltsc2019
This should have no functional difference as 1809 is an alias
to ltsc2019 but it makes it more explicit that what branch we
are tracking
2020-04-07 14:45:08 +03:00
Matthew Waters
3b273b01e8 Partial revert of 9ed6305e1f
For post-merge of android ndk-21 as part of:
https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/266
https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/463
2020-04-06 18:38:41 +10:00
Matthew Waters
9ed6305e1f docker/cerbero: checkout proposed ndk-21 cerbero branch 2020-04-06 11:50:21 +10:00
Matthew Waters
afab7cc48b docker: update android image container for ndk-21 2020-04-06 11:50:21 +10:00
Guillaume Desmottes
9405f9245b docker: install intel-mediasdk on Fedora image
Will be used to build gst-msdk in gst-plugins-bad.
Fix #52
2020-03-24 16:33:04 +01:00
Guillaume Desmottes
d016fa7453 docker: fedora: update to Fedora 31
aom-extra-tools has been removed from Fedora:
038d7b2164

gstreamer1-plugins-bad-nonfree has been removed from rpmfusion:
https://pkgs.rpmfusion.org/cgit/nonfree/gstreamer1-plugins-bad-nonfree.git/commit/?id=30641c2ded63d12e099d32cb814bab8244f48c90
It was only used of its build deps of which only faac-devel was not
already installed, so I added it instead.

Need to manually install pip3 now.
2020-03-24 14:15:21 +00:00
Jordan Petridis
a99cdc8909 docker: allow to specify the branch to pull for various repos
Declare an docker build-arg [1] and use it
whenever cloning one of our repositories. If the buildarg
is not specified, the variable defaults back to 'master'
and thus the current behavior doesn't change.

From the .gitlab-ci.yml file, when building pass
the GST_UPSTREAM_BRANCH that's defined from the ci_template
as the buildarg so we will be building the corresponding branches
for the docker images.

Close #33

[1] https://docs.docker.com/engine/reference/builder/#arg
2020-03-08 18:53:23 +00:00
Guillaume Desmottes
316848d43f docker: fedora: update to meson 0.53.1
Needed to build Tizonia (gst-omx backend).
2020-02-24 09:50:47 +05:30
Jordan Petridis
65c18304c4 docker/fedora: upgrade base images to f31
All the images except the gst-build fedora image,
due to further changes being needed
2020-02-10 10:18:42 +00:00
Jordan Petridis
def2e2d80b docker/fedora: add libappstream-glib to the image
Needed to validate the appstream files of GstDebugViewer
in gst-devtools.

https://gitlab.freedesktop.org/gstreamer/gst-devtools/merge_requests/155
2020-02-10 10:18:41 +00:00
Nirbheek Chauhan
cb22d4c4f9 docker/cerbero: Install wine in system setup
This is now an optional runtime dependency that cerbero can make use
of for doing runtime testing of the built binaries. Needed for
building a new image so that !227 can be merged.
2020-02-04 00:16:09 +05:30
Guillaume Desmottes
08b346d96c docker: fedora: install Tizonia dep
Need to build gst-omx with Tizonia as target (#20).
2020-01-31 17:17:44 +05:30
Jordan Petridis
23f303eb94 docker/windows: work around a python ssl issue
Python fails to validate github.com SSL certificate, unless we first
run a dummy download to force refreshing Windows' CA database.
See: https://bugs.python.org/issue36137

Adapted from patches by Xavier Claessens!
2020-01-29 17:39:46 +00:00
Jordan Petridis
0320050e06 docker/windows: install cmake with choco as well 2020-01-29 17:39:46 +00:00
Jordan Petridis
6fb7b6744c docker/windows: copy the install scripts just before running them
This results into more docker layers, but it avoid invalidating
the previous layers when changing anything in the script, making
build times faster.

Adapted from patches by Xavier Claessens!
2020-01-29 17:39:46 +00:00
Jordan Petridis
df6ebdeaaf docker/windows: install git, gitlfs, 7zip and python3 with choco
Move them into a seperate script to avoid needing to refresh the
env, and make it simpler.

Adapted from patches by Xavier Claessens!
2020-01-29 17:39:46 +00:00
Jordan Petridis
c0caae0722 docker/windows: use direct download links from mirrors
Else Invoke-WebRequest gets redirected and ends up downloading
html page. Possibly due to an unkown user-agent? who knows.
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
21df205069 docker/windows: Download and install MSYS for Cerbero 2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
d8e87dc89a docker/windows: Install CMake for Cerbero 2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
6267810f3a docker/windows: Fix 7zip extract command for MSYS2
-Wait is only needed for Start-Process. Also, explicitly extract the
tar file into C:\ -- don't assume the current directory is C:\
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
cfb15f47b8 docker/windows: Clarify some MSYS2 install steps 2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
1ae8f6491f docker/windows: Update python, git, and MSYS2
The git update is particularly important because of security
vulnerabilities on Windows related to NTFS.
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
b722709cad docker/windows: Use load-balancing for sourceforge URLs
Instead of using a specific mirror, which may be slow or might
disappear.
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
cec8de9054 docker/windows: Install Python to a path without spaces
This is needed for Cerbero since Autotools cannot handle paths to
binaries that have spaces in them.
2020-01-29 17:39:46 +00:00
Nirbheek Chauhan
ddf9f8962f docker/windows: Download Python installer as python3-installer
Having a binary called 'python3' anywhere that might accidentally end
up in PATH is asking for trouble.
2020-01-29 17:39:46 +00:00
Philippe Normand
a86020a9bf
docker/fedora: Install libdav1d
This library is required for the gst-plugins-rs rsdav1d plugin build.
2020-01-29 16:28:59 +02:00
Guillaume Desmottes
44c286fffd docker: fedora: install libsodium
Used by a Rust plugin.
2020-01-17 08:49:31 +00:00
Nirbheek Chauhan
6b09187d21 docker/cerbero: Do not manually install nasm when building image
This is pulled in correctly via cerbero's bootstrap deps now.
2020-01-07 02:37:55 +05:30
Guillaume Desmottes
8a85aa6eba docker: export RUSTUP/CARGO_HOME in container
The rust binaries (rustc) needs those variables to be defined to work
properly.
2019-12-23 11:53:22 +05:30