2 extends: .base_job_template
8 key: "${CI_JOB_NAME}-cache"
10 - ${CI_PROJECT_DIR}/msys64/var/cache
15 name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
18 - build/meson-logs/testlog.txt
20 junit: "build/meson-logs/testlog.junit.xml"
22 - If ( !(Test-Path -Path msys64\var\cache ) ) {
23 mkdir msys64\var\cache
25 - If ( !(Test-Path -Path msys64\var\cache\msys2.exe ) ) {
27 "https://github.com/msys2/msys2-installer/releases/download/2022-06-03/msys2-base-x86_64-20220603.sfx.exe"
28 -outfile "msys64\var\cache\msys2.exe"
30 - msys64\var\cache\msys2.exe -y
31 - ((Get-Content -path .\msys64\etc\\post-install\\07-pacman-key.post -Raw)
32 -replace '--refresh-keys', '--version') |
33 Set-Content -Path ${CI_PROJECT_DIR}\msys64\etc\\post-install\\07-pacman-key.post
34 - .\msys64\usr\bin\bash -lc "sed -i 's/^CheckSpace/#CheckSpace/g' /etc/pacman.conf"
35 - .\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu' # Core update
36 - .\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu' # Normal update
37 - taskkill /F /FI "MODULES eq msys-2.0.dll"
39 - .\msys64\usr\bin\bash -lc "pacman -Sy --noconfirm --needed
42 $MINGW_TARGET-capstone
44 $MINGW_TARGET-cyrus-sasl
50 $MINGW_TARGET-libgcrypt
51 $MINGW_TARGET-libjpeg-turbo
55 $MINGW_TARGET-libtasn1
64 $MINGW_TARGET-SDL2_image
67 $MINGW_TARGET-usbredir
69 - $env:CHERE_INVOKING = 'yes' # Preserve the current working directory
70 - $env:MSYS = 'winsymlinks:native' # Enable native Windows symlink
73 - ..\msys64\usr\bin\bash -lc "../configure --enable-fdt=system $CONFIGURE_ARGS"
74 - ..\msys64\usr\bin\bash -lc "make"
75 - ..\msys64\usr\bin\bash -lc "make check MTESTARGS='$TEST_ARGS' || { cat meson-logs/testlog.txt; exit 1; } ;"
78 extends: .shared_msys2_builder
80 MINGW_TARGET: mingw-w64-x86_64
82 # do not remove "--without-default-devices"!
83 # commit 9f8e6cad65a6 ("gitlab-ci: Speed up the msys2-64bit job by using --without-default-devices"
84 # changed to compile QEMU with the --without-default-devices switch
85 # for the msys2 64-bit job, due to the build could not complete within
86 CONFIGURE_ARGS: --target-list=x86_64-softmmu --without-default-devices
87 # qTests don't run successfully with "--without-default-devices",
88 # so let's exclude the qtests from CI for now.
89 TEST_ARGS: --no-suite qtest
92 extends: .shared_msys2_builder
94 MINGW_TARGET: mingw-w64-i686
96 CONFIGURE_ARGS: --target-list=ppc64-softmmu
97 TEST_ARGS: --no-suite qtest