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 }}
48 LIBA_OPENMP: ${{ !startsWith(matrix.sys, 'CLANG') }}
51 cmake -S . -B build -G "MinGW Makefiles" -DPython_ROOT_DIR=D:/msys64/${{ matrix.sys }} \
58 cmake --build build --target package
62 MSYS2_PATH_TYPE: strict
63 MSYSTEM: ${{ matrix.sys }}
66 cp -r build/vcpkg/* $VCPKG_INSTALLATION_ROOT
67 $VCPKG_INSTALLATION_ROOT/vcpkg install liba[ipo,pkgconfig]:${{ matrix.triple }}-mingw-static
68 $VCPKG_INSTALLATION_ROOT/vcpkg install liba[ipo,pkgconfig]:${{ matrix.triple }}-mingw-dynamic
70 if: ${{ matrix.triple == 'x64' }}
73 MSYS2_PATH_TYPE: strict
74 MSYSTEM: ${{ matrix.sys }}
75 CTEST_OUTPUT_ON_FAILURE: 1
78 cmake --build build --target test