Add packaging and validation tools to the runner images
Build CI images / build (linux-native) (push) Successful in 18s
Build CI images / build (nixos) (push) Successful in 8s
Build CI images / build (vulkan) (push) Successful in 24s
Build CI images / build (windows-clang) (push) Successful in 2m31s
Build CI images / build (windows-gcc) (push) Successful in 30s

vulkan gains msitools (wixl), rpm-tools, dpkg and meson so installer jobs can
produce real MSIs and validate RPM/DEB output, and so the Meson
foreign-provider tests run instead of being skipped. windows-gcc and
windows-clang gain msitools for Windows-target MSIs.

The build workflow now verifies the new tools inside the built images.
This commit is contained in:
faumaray committed 2026-12-06 16:39:50 +03:00
1 parent 8ad0c484aa
commit 059ba9d1a5
5 files changed
+37

No files matched your search

+12
View File
@@ -80,6 +80,18 @@ jobs:
icd=$(ls /usr/share/vulkan/icd.d/lvp_icd*.json | head -n1)
xvfb-run -a env VK_DRIVER_FILES="$icd" vulkaninfo --summary'
- name: Verify packaging tools
if: matrix.image == 'vulkan' || matrix.image == 'windows-gcc' || matrix.image == 'windows-clang'
shell: bash
run: |
set -euo pipefail
docker run --rm "${{ steps.image.outputs.ref }}" bash -lc '
wixl --version
command -v msiinfo
if [ -x /usr/bin/rpm ]; then rpm --version; fi
if command -v dpkg-deb >/dev/null 2>&1; then dpkg-deb --version | head -n1; fi
if command -v meson >/dev/null 2>&1; then meson --version; fi'
- name: Push
if: github.event_name != 'pull_request' && env.REGISTRY_TOKEN != ''
shell: bash
+12
View File
@@ -25,6 +25,18 @@ use is already installed in `linux-native` and `vulkan`:
- Mesa with RADV (AMD hardware) and lavapipe (software Vulkan)
- Wine in both Windows images for running Windows tests
### Packaging and validation tools
`vulkan` additionally carries the tools needed to build and verify installers:
- `msitools` (`wixl`, `msiinfo`) — compiles WiX sources into real MSIs
- `rpm-tools` (`rpm`) — validates generated RPM packages
- `dpkg` (`dpkg-deb`) — validates generated DEB packages
- `meson` — lets the Meson foreign-provider tests run instead of being skipped
Both Windows images also carry `msitools`, so Windows-target MSIs can be built
in the same job that cross-compiles the binaries.
`windows-gcc` additionally carries the `mingw-w64-toolchain` group
(`x86_64-w64-mingw32-gcc/g++`, binutils, CRT, winpthreads) and an initialised
64-bit Wine prefix. `windows-clang` carries the LLVM-MinGW toolchain (clang,
+7
View File
@@ -46,6 +46,13 @@ RUN pacman -S --noconfirm --needed \
nodejs npm \
&& pacman -Scc --noconfirm
# Packaging and validation tools: wixl (msitools) compiles WiX sources into
# MSIs, rpm validates generated RPMs, dpkg validates generated DEBs, and meson
# lets the foreign-provider translation tests run instead of being skipped.
RUN pacman -S --noconfirm --needed \
msitools rpm-tools dpkg meson \
&& pacman -Scc --noconfirm
RUN git config --system --add safe.directory '*' \
&& useradd --create-home --shell /bin/bash builder \
&& mkdir -p /var/cache/ccache \
+1
View File
@@ -25,6 +25,7 @@ RUN apt-get update \
cmake ninja-build pkg-config git ca-certificates \
nodejs npm \
zip unzip jq curl \
msitools \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update \
+5
View File
@@ -52,6 +52,11 @@ RUN pacman -S --noconfirm --needed \
nodejs npm \
&& pacman -Scc --noconfirm
# wixl (msitools) compiles the WiX sources VBS generates into real MSIs.
RUN pacman -S --noconfirm --needed \
msitools \
&& pacman -Scc --noconfirm
# The Vulkan headers are OS-independent; make them visible to the MinGW compiler.
RUN cp -a /usr/include/vulkan /usr/x86_64-w64-mingw32/include/ \
&& git config --system --add safe.directory '*' \