diff --git a/.github/workflows/win-msys2-clang.yml b/.github/workflows/win-msys2-clang.yml index c13b862..3f2a806 100644 --- a/.github/workflows/win-msys2-clang.yml +++ b/.github/workflows/win-msys2-clang.yml @@ -22,40 +22,51 @@ jobs: ! contains(toJSON(github.event.commits.*.message), '[skip github]') name: ${{ matrix.msystem }} - runs-on: windows-latest + + runs-on: ${{ matrix.os }} + defaults: run: shell: msys2 {0} + strategy: fail-fast: false + matrix: + os: ['windows-2019', 'windows-latest'] + include: - msystem: "MINGW64" install: >- - git mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja + git mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-clang type: Release + - msystem: "MINGW32" install: >- - git mingw-w64-i686-cmake mingw-w64-i686-ninja + git mingw-w64-i686-cmake mingw-w64-i686-ninja mingw-w64-i686-clang type: Release + - msystem: "MINGW64" - install: >- - git mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja + install: >- + git mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-clang type: Debug + - msystem: "MINGW32" install: >- - git mingw-w64-i686-cmake mingw-w64-i686-ninja + git mingw-w64-i686-cmake mingw-w64-i686-ninja mingw-w64-i686-clang type: Debug + env: CMAKE_GENERATOR: Ninja steps: - uses: actions/checkout@v2 - uses: msys2/setup-msys2@v2 + with: update: true msystem: ${{ matrix.msystem }} @@ -65,8 +76,8 @@ jobs: run: script/ci_install_deps.sh - name: Configure - run: >- - cmake -DCMAKE_CXX_COMPILER=clang++ -S test -B build + run: >- + cmake -DCMAKE_CXX_COMPILER=clang++ -S test -B build -DCMAKE_BUILD_TYPE=Debug - name: Build