Skip to content

ci: experiment with new mingw clang64 #2

ci: experiment with new mingw clang64

ci: experiment with new mingw clang64 #2

Workflow file for this run

name: MinGW Clang64 Full Pipeline
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
fail-fast: false
matrix:
profile: [RelWithDebInfo, Debug]
name: MinGW Clang64 Build (${{ matrix.profile }})
runs-on: windows-2025
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup MSYS2
id: msys2
uses: msys2/setup-msys2@v2
with:
msystem: clang64
update: true
install: >-
git
mingw-w64-clang-x86_64-toolchain
mingw-w64-clang-x86_64-cmake
mingw-w64-clang-x86_64-ninja
- name: Configure
run: >
cmake -GNinja
-B${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=${{ matrix.profile }}
-DCMAKE_CXX_COMPILER=clang++
-DCMAKE_C_COMPILER=clang
- name: Build
run: >
cmake
--build ${{github.workspace}}/build
--parallel
- name: Test
run: |
cd ${{github.workspace}}/build
ctest