mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
091946a478
Main differences with previous setup are: - No manifest creation - gst-indent is executed only when the bot is assigned (instead of the manifest task) - Cerbero jobs are triggered in the cerbero repo - Remove cerbero and android related files as they now are in cerbero itself. - Update `container.ps1` to the new file layout Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>
27 lines
No EOL
851 B
PowerShell
27 lines
No EOL
851 B
PowerShell
$env:ErrorActionPreference='Stop'
|
|
|
|
$env:DEFAULT_BRANCH='main'
|
|
$env:VERSION='test'
|
|
$env:tag ="registry.freedesktop.org/gstreamer/gst-ci/amd64/windows:$env:VERSION-$env:DEFAULT_BRANCH"
|
|
$env:rust_tag ="registry.freedesktop.org/gstreamer/gst-ci/amd64/windows-rust:$env:VERSION-$env:DEFAULT_BRANCH"
|
|
|
|
Set-Location './docker/windows/'
|
|
|
|
Get-Date
|
|
Write-Output "Building $env:tag"
|
|
docker build --isolation=hyperv -m 12g --build-arg DEFAULT_BRANCH=$env:DEFAULT_BRANCH -f Dockerfile -t $env:tag .
|
|
if (!$?) {
|
|
Write-Host "Failed to build docker image $env:tag"
|
|
Exit 1
|
|
}
|
|
|
|
Get-Date
|
|
Write-Output "Building $env:rust_tag"
|
|
docker build --isolation=hyperv -m 12g --build-arg DEFAULT_BRANCH=$env:DEFAULT_BRANCH -f rust.Dockerfile -t $env:rust_tag .
|
|
if (!$?) {
|
|
Write-Host "Failed to build docker image $env:rust_tag"
|
|
Exit 1
|
|
}
|
|
|
|
Get-Date
|
|
Write-Output "Build Finished" |