ci/win32: add subrandr

Wrap subrandr build process into meson custom target.

Meson's custom target allow only file output (without path component),
so additionall copy step is added to get the library. Dummy stamp file
is used to connect custom target to dependency, the file is actually not
created, so target will be called each time, but it's fine, because
cargo will resolve it's own dependencies this way and build if needed.

This is glued only for static lib, this is what we need for our CI
script.
This commit is contained in:
Kacper Michajłow committed 2026-01-06 13:58:11 +01:00
1 parent 273f1db49e
commit e75a174743
2 files changed
+53 -4

No files matched your search

+3 -2
View File
@@ -142,9 +142,8 @@ jobs:
CXX: "ccache clang++"
CC_LD: "lld-link"
CXX_LD: "lld-link"
WINDRES: "llvm-rc"
RUST_LD: "lld-link"
RUSTC: "rustc --target ${{ matrix.target }}"
WINDRES: "llvm-rc"
CCACHE_BASEDIR: ${{ github.workspace }}
CCACHE_DIR: "${{ github.workspace }}\\.ccache"
CCACHE_MAXSIZE: 500M
@@ -172,6 +171,8 @@ jobs:
run: |
python -m pip install meson==1.9.2
choco install ccache nasm
# For cargo -C
rustup default nightly
./ci/install-cmake.ps1 -arch ${{ matrix.arch }}
- name: Update Meson WrapDB