From 10b8d1d06442a544c2ae421dbf63d4f03c873c10 Mon Sep 17 00:00:00 2001 From: Oliver Schonrock Date: Tue, 17 Dec 2024 13:38:16 +0000 Subject: [PATCH] msys2 CI --- .github/workflows/msys2.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/msys2.yml diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml new file mode 100644 index 0000000..b25642a --- /dev/null +++ b/.github/workflows/msys2.yml @@ -0,0 +1,29 @@ +name: MSYS2-CI + +on: [push, pull_request] + +jobs: + windows-mingw: + name: ${{ matrix.sys }} + runs-on: windows-latest + defaults: + run: + shell: msys2 {0} + strategy: + fail-fast: false + matrix: + sys: [ UCRT64, CLANG64, MINGW64, MINGW32 ] + steps: + - name: checkout code + uses: actions/checkout@v4 + with: + submodules: 'recursive' + - name: install msys2 + uses: msys2/setup-msys2@v2 + with: + msystem: ${{matrix.sys}} + update: true + - name: Configure + run: cmake -S . -B build -DCMAKE_BUILD_TYPE=debug + - name: Build + run: cmake --build build