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 }} \
59 cmake --build build --target package
63 MSYS2_PATH_TYPE: strict
64 MSYSTEM: ${{ matrix.sys }}
67 cp -r build/vcpkg/* $VCPKG_INSTALLATION_ROOT
68 $VCPKG_INSTALLATION_ROOT/vcpkg install liba[ipo,pkgconfig]:${{ matrix.triple }}-mingw-static
69 $VCPKG_INSTALLATION_ROOT/vcpkg install liba[ipo,pkgconfig]:${{ matrix.triple }}-mingw-dynamic
71 if: ${{ matrix.triple == 'x64' }}
74 MSYS2_PATH_TYPE: strict
75 MSYSTEM: ${{ matrix.sys }}
76 CTEST_OUTPUT_ON_FAILURE: 1
79 cmake --build build --target test