[PATCH 11/11] gitlab-ci: enable rust for msys2-64bit
Paolo Bonzini <[email protected]>
| Newsgroups | org.nongnu.qemu-rust,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
From: Marc-André Lureau <[email protected]> Signed-off-by: Marc-André Lureau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Bonzini <[email protected]> --- .gitlab-ci.d/windows.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml index 5dbdabfbec0..5ef4d34d1ea 100644 --- a/.gitlab-ci.d/windows.yml +++ b/.gitlab-ci.d/windows.yml @@ -17,7 +17,7 @@ msys2-64bit: # This feature doesn't (currently) work with PowerShell, it stops # the echo'ing of commands being run and doesn't show any timing FF_SCRIPT_SECTIONS: 0 - CONFIGURE_ARGS: --disable-system --enable-tools -Ddebug=false -Doptimization=0 + CONFIGURE_ARGS: --disable-system --enable-tools -Ddebug=false -Doptimization=0 --enable-rust # The Windows git is a bit older so override the default GIT_FETCH_EXTRA_FLAGS: --no-tags --prune --quiet artifacts: @@ -77,6 +77,7 @@ msys2-64bit: bison diffutils flex git grep make sed mingw-w64-x86_64-binutils + mingw-w64-x86_64-ca-certificates mingw-w64-x86_64-ccache mingw-w64-x86_64-curl-winssl mingw-w64-x86_64-gcc @@ -87,6 +88,9 @@ msys2-64bit: mingw-w64-x86_64-pixman mingw-w64-x86_64-pkgconf mingw-w64-x86_64-python + mingw-w64-x86_64-python-certifi + mingw-w64-x86_64-rust + mingw-w64-x86_64-rust-bindgen mingw-w64-x86_64-zstd" - .\msys64\usr\bin\bash -lc "pacman -Sc --noconfirm" - Write-Output "Running build at $(Get-Date -Format u)" @@ -98,6 +102,7 @@ msys2-64bit: - $env:CCACHE_MAXSIZE = "180M" - $env:CCACHE_DEPEND = 1 # cache misses are too expensive with preprocessor mode - $env:CC = "ccache gcc" + - $env:LIBCLANG_PATH = Join-Path -Path $PWD.Path -ChildPath "msys64/mingw64/bin" - mkdir build - cd build - ..\msys64\usr\bin\bash -lc "ccache --zero-stats" -- 2.52.0