mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
b857a5ada1
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>
23 lines
659 B
Docker
23 lines
659 B
Docker
# escape=`
|
|
|
|
FROM 'mcr.microsoft.com/windows/servercore:ltsc2019'
|
|
|
|
# Make sure any failure in PowerShell scripts is fatal
|
|
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
|
|
ENV ErrorActionPreference='Stop'
|
|
|
|
COPY install_choco.ps1 C:\
|
|
RUN C:\install_choco.ps1
|
|
|
|
RUN 'git config --global user.email "cirunner@gstreamer.freedesktop.org"; git config --global user.name "GStreamer CI system"'
|
|
|
|
COPY install_toolchain.ps1 C:\
|
|
RUN C:\install_toolchain.ps1
|
|
|
|
ARG DEFAULT_BRANCH="master"
|
|
|
|
COPY prepare_gst_env.ps1 C:\
|
|
RUN C:\prepare_gst_env.ps1
|
|
|
|
COPY prepare_cerbero_env.sh C:\
|
|
RUN C:\MinGW\msys\1.0\bin\bash.exe --login -c "C:/prepare_cerbero_env.sh"
|