10 { triple: x64, sys: UCRT64 },
11 { triple: x64, sys: MINGW64 },
12 { triple: x86, sys: MINGW32 },
13 { triple: x64, sys: CLANG64 },
14 { triple: x86, sys: CLANG32 },
16 runs-on: windows-latest
18 - uses: actions/checkout@v4
22 - uses: msys2/setup-msys2@v2
27 msystem: ${{ matrix.sys }}
42 MSYSTEM: ${{ matrix.sys }}
47 MSYSTEM: ${{ matrix.sys }}
50 cmake -S . -B build -G Ninja -DPython_ROOT_DIR=D:/msys64/${{ matrix.sys }} \
51 -DCMAKE_INSTALL_PREFIX=_ \
62 MSYSTEM: ${{ matrix.sys }}
63 LIBA_OPENMP: ${{ !startsWith(matrix.sys, 'CLANG') }}
66 cmake --build build --target package
70 MSYSTEM: ${{ matrix.sys }}
71 CTEST_OUTPUT_ON_FAILURE: 1
74 cmake --build build --target test
78 MSYSTEM: ${{ matrix.sys }}
81 cmake --build build --config RelWithDebInfo --target install
82 cmake -S example -B example/build -DCMAKE_PREFIX_PATH=$(pwd)/_
83 cmake --build example/build -v
84 - uses: actions/checkout@v4
86 repository: microsoft/vcpkg
91 MSYSTEM: ${{ matrix.sys }}
94 cmake -B build -DLIBA_VCPKG=$(pwd)/_/vcpkg
95 _/vcpkg/bootstrap-vcpkg.sh -disableMetrics
96 _/vcpkg/vcpkg install liba[ipo,pkgconfig]:${{ matrix.triple }}-mingw-static
97 _/vcpkg/vcpkg install liba[ipo,pkgconfig]:${{ matrix.triple }}-mingw-dynamic