Commit graph

107 commits

Author SHA1 Message Date
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
Guillaume Desmottes
af9982cffe docker/fedora: install Rust
Needed to build gst-plugins-rs, see gst-plugins-rs!205
2019-12-20 13:43:40 +05:30
Xavier Claessens
0b3645f7fd docker/fedora: Update meson to 0.52.1 2019-12-18 10:48:14 -05:00
Eric Marks
f4d335bc8c docker/fedora: Install libcaca and aalib
Add libcaca-devel and aalib-devel to dependencies so that cacasink and
aasink can be built.
2019-12-17 16:30:07 -05:00
Jordan Petridis
5c0ad2facd
ci_template: make sure powershell hard exists on errors
We set the env var as the shell of the image, but looks like
the gitlab runner is overriding that.
2019-12-05 00:59:34 +02:00
Jordan Petridis
b3aa9b5286
windows: Migrate to windows 1809 base
Rebuild the windows docker image against the current ltsc [1]
of server 2019. This requires moving some of the msys setup
to the runner job cause it causes docker build to hang

Switch the job tags so they now use the 1809 runner, instead
of 1607.

Tweak the PATHs in the msys job so bash doesn't complain about
slashes..

Lastly, increase the timeout of the windows jobs, as msys2
installs its deps at runtime

[1] https://docs.microsoft.com/en-us/windows-server/get-started-19/servicing-channels-19
2019-12-04 18:45:22 +02:00
Jordan Petridis
2fadd6e3d0 docker/windows: update the version of various deps we install 2019-11-26 17:42:14 +00:00
Nirbheek Chauhan
4e93f92783 docker/cerbero: Temporarily add nasm to the system setup
We will later install it as part of the cerbero bootstrap step when
generating the image after
https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/320 is
merged.
2019-11-10 04:27:14 +05:30
Thibault Saunier
b0b76594c3 docker: Stop using mdv and use bat to colorize markdown 2019-11-06 15:43:11 +00: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
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
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
Edward Hervey
c732a9234c docker: Upgrade cerbero image to use fedora 30 2019-09-05 17:25:37 +02: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
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
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
ef82e5a971 docker/android: cache gradle deps inside the docker image 2019-06-12 14:50:02 +10:00
Nicolas Dufresne
8a20ec0606 docker: cerbero: Fix for mingw tarball rename 2019-06-06 15:42:29 -04:00
Thibault Saunier
9afac85d0d fedora: Install gtk3 and gdk-pixbuf documentation 2019-05-29 09:05:33 -04:00