Update msys2-clang ci

This commit is contained in:
ado 2023-08-06 23:49:55 +02:00
parent 9afe24785b
commit cd6c2df359

View File

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