Skip to content

Commit 7bf0044

Browse files
andibacherCopilot
andcommitted
Add GitHub Actions Windows CI workflow for MSVC and MinGW
- Add cmake-windows.yml with matrix builds for Qt 6 LTS (6.2.4, 6.5.3, 6.8.3) and latest (6.9.1) - Two jobs: MSVC (Ninja) and MinGW (MinGW Makefiles) - Install MinGW compiler via Qt installer tools parameter - Run ctest after build - Add workflow file to CMakeLists.txt githubworkflows target Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2 parents 3a571b5 + 9a0354c commit 7bf0044

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/cmake-windows.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CMake Windows build and test
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ master, feature/github-actions-windows-ci ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ master, feature/github-actions-windows-ci ]
88
workflow_dispatch:
99

1010
env:
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
qt_version: [6.2.4, 6.5.3, 6.6.3, 6.7.3, 6.8.3, 6.9.1]
20+
qt_version: [6.2.4, 6.5.3, 6.8.3, 6.10.2]
2121

2222
steps:
2323
- uses: actions/checkout@v4
@@ -53,16 +53,12 @@ jobs:
5353
matrix:
5454
include:
5555
- qt_version: '6.2.4'
56-
mingw_tools: 'tools_mingw900'
56+
mingw_tools: 'tools_mingw90'
5757
- qt_version: '6.5.3'
58-
mingw_tools: 'tools_mingw1120'
59-
- qt_version: '6.6.3'
60-
mingw_tools: 'tools_mingw1120'
61-
- qt_version: '6.7.3'
6258
mingw_tools: 'tools_mingw1310'
6359
- qt_version: '6.8.3'
6460
mingw_tools: 'tools_mingw1310'
65-
- qt_version: '6.9.1'
61+
- qt_version: '6.10.2'
6662
mingw_tools: 'tools_mingw1310'
6763

6864
steps:

Readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Continuous Integration
55
----------------------
66
Github actions CMake Ubuntu [![CMake Ubuntu build and test](https://github.com/MEONMedical/Log4Qt/actions/workflows/cmake-ubuntu.yml/badge.svg)](https://github.com/MEONMedical/Log4Qt/actions/workflows/cmake-ubuntu.yml)
77

8+
Github actions CMake Windows [![CMake Windows build and test](https://github.com/MEONMedical/Log4Qt/actions/workflows/cmake-windows.yml/badge.svg)](https://github.com/MEONMedical/Log4Qt/actions/workflows/cmake-windows.yml)
9+
810
Appveyor CI (Windows) [![Build status](https://ci.appveyor.com/api/projects/status/yhlqvbqeooy7ds2l?svg=true)](https://ci.appveyor.com/project/MeonMedical/log4qt)
911

1012

0 commit comments

Comments
 (0)