10 { triple: x64, sys: MINGW64 },
11 { triple: x86, sys: MINGW32 },
12 { triple: x64, sys: CLANG64 },
13 { triple: x64, sys: UCRT64 },
15 runs-on: windows-latest
17 - uses: actions/checkout@v4
21 - uses: msys2/setup-msys2@v2
26 msystem: ${{ matrix.sys }}
40 MSYS2_PATH_TYPE: strict
41 MSYSTEM: ${{ matrix.sys }}
46 MSYS2_PATH_TYPE: strict
47 MSYSTEM: ${{ matrix.sys }}
50 cmake -S . -B build -G "MinGW Makefiles" -DPython_ROOT_DIR=D:/msys64/${{ matrix.sys }} \
57 cmake --build build --target package
61 MSYS2_PATH_TYPE: strict
62 MSYSTEM: ${{ matrix.sys }}
65 cp -r build/vcpkg/* $VCPKG_INSTALLATION_ROOT
66 $VCPKG_INSTALLATION_ROOT/vcpkg install liba[ipo,pkgconfig]:${{ matrix.triple }}-mingw-static
67 $VCPKG_INSTALLATION_ROOT/vcpkg install liba[ipo,pkgconfig]:${{ matrix.triple }}-mingw-dynamic
69 if: ${{ matrix.triple == 'x64' }}
72 MSYS2_PATH_TYPE: strict
73 MSYSTEM: ${{ matrix.sys }}
74 CTEST_OUTPUT_ON_FAILURE: 1
77 cmake --build build --target test