Commit graph

92 commits

Author SHA1 Message Date
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
Thibault Saunier
9e62bd32c3 docker: Always get latest hotdoc release
We had another little mistake to fix and that might
happen often in the future so let's use latest releases for
now.
2019-05-13 13:58:57 -04:00
Thibault Saunier
f7bcf8dd6a docker: Update hotdoc to latest release 2019-05-13 11:26:23 -04:00
Thibault Saunier
09c9517c64 docker: Explicitely install flex before installing hotdoc 2019-04-25 16:50:28 -04:00
Thibault Saunier
e2db595678 docker:fedora: Use meson 0.50.1 2019-04-25 10:44:16 -04:00
Thibault Saunier
fee11e9374 docker: Install hotdoc and required packages to build the doc 2019-04-25 10:40:14 -04:00
Jordan Petridis
4c1a551c91 Fedora docker: Bump to f30
Needed to get an upgraded ffmpeg.
Also required to have a new enough version of gobject-introspection
and remove all warnings
2019-04-24 15:55:32 -04:00
Thibault Saunier
69f1f7760b fedora: Install temrinal markdown viewer
To enhance the launcher output
2019-04-16 15:47:24 +00:00
Matthew Waters
497415544b docker: add android-specific image
pre-includes the NDK/SDK
2019-03-26 04:00:57 +00:00
Nirbheek Chauhan
ad598c3f02 Always print timestamps when running Cerbero
This is useful when doing performance improvements or comparisons.
2019-03-25 21:49:29 +05:30
Nirbheek Chauhan
fc2b4a657c docker/cerbero: Always install lbzip2 for use in packaging
See: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/132

Needed for https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/139
2019-03-25 21:49:29 +05:30
Thibault Saunier
472901ba17 docker:fedora: Remove Qt5 devel packages
as we haven't tested building it and it leads to build issues in
examples.
2019-03-22 21:21:31 +00:00
Thibault Saunier
452f64bb5e docker:fedora: No need to add site-packages to PATH 2019-03-21 20:53:32 -03:00
Thibault Saunier
f04c2e7f38 fedora: Install meson 0.49.2
Working around https://github.com/mesonbuild/meson/issues/5087
2019-03-21 18:15:13 -03:00
Thibault Saunier
e229b559d4 Revert "docker/fedora: use meson from fedora repos"
This reverts commit a116f19eeb.
2019-03-21 18:15:13 -03:00
Thibault Saunier
3f3031eafb fedora: Install git-lfs 2019-03-21 18:15:13 -03:00