• Home
Name Date Size #Lines LOC

..--

Dockerfile_buildD04-Jul-2025433 2012

Dockerfile_msvcD04-Jul-20251.2 KiB2820

Dockerfile_testD04-Jul-2025494 2618

README.mdD04-Jul-20251.5 KiB3726

deqp_runner_run.ps1D04-Jul-20251.3 KiB3931

mesa_build.ps1D04-Jul-20252.5 KiB8967

mesa_container.ps1D04-Jul-20252 KiB5947

mesa_deps_build.ps1D04-Jul-20255.8 KiB171151

mesa_deps_choco.ps1D04-Jul-20252.5 KiB7863

mesa_deps_d3d.ps1D04-Jul-20252.1 KiB5033

mesa_deps_libva.ps1D04-Jul-20252.1 KiB8062

mesa_deps_msvc.ps1D04-Jul-20251.8 KiB4733

mesa_deps_rust.ps1D04-Jul-2025567 1811

mesa_deps_test.ps1D04-Jul-2025896 3023

mesa_deps_test_deqp.ps1D04-Jul-20253.1 KiB8965

mesa_deps_test_piglit.ps1D04-Jul-20253.4 KiB10486

mesa_deps_vulkan_sdk.ps1D04-Jul-20251.6 KiB4029

mesa_init_msvc.ps1D04-Jul-2025933 1810

piglit_run.ps1D04-Jul-2025711 2117

spirv2dxil_check.ps1D04-Jul-20252 KiB4741

spirv2dxil_run.ps1D04-Jul-2025483 1713

vainfo_run.ps1D04-Jul-20253.9 KiB10070

README.md

1# Native Windows GitLab CI builds
2
3Unlike Linux, Windows cannot reuse the freedesktop ci-templates as they exist
4as we do not have Podman, Skopeo, or even Docker-in-Docker builds available
5under Windows.
6
7We still reuse the same model: build a base container with the core operating
8system and infrequently-changed build dependencies, then execute Mesa builds
9only inside that base container. This is open-coded in PowerShell scripts.
10
11## Base container build
12
13The base container build job executes the `mesa_container.ps1` script which
14reproduces the ci-templates behaviour. It looks for the registry image in
15the user's namespace, and exits if found. If not found, it tries to copy
16the same image tag from the upstream Mesa repository. If that is not found,
17the image is rebuilt inside the user's namespace.
18
19The rebuild executes `docker build` which calls `mesa_deps.ps1` inside the
20container to fetch and install all build dependencies. This includes Visual
21Studio Community Edition (downloaded from Microsoft, under the license which
22allows use by open-source projects), other build tools from Chocolatey, and
23finally Meson and Python dependencies from PyPI.
24
25This job is executed inside a Windows shell environment directly inside the
26host, without Docker.
27
28## Mesa build
29
30The Mesa build runs inside the base container, executing `mesa_build.ps1`.
31This simply compiles Mesa using Meson and Ninja, executing the build and
32unit tests. Currently, no build artifacts are captured.
33
34## Using build scripts locally
35
36`*.ps1` scripts for building dockers are using PowerShell 7 to run
37