Skip to content

Commit 3d4b7e7

Browse files
committed
github: add runners for Qt minimal on macOS and Windows
1 parent ee1849d commit 3d4b7e7

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/github-cxx-qt-tests.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,22 @@ jobs:
130130
if-no-files-found: ignore
131131

132132
build-qt-minimal:
133-
name: Ubuntu 24.04 (gcc) Qt 6 Minimal
134133
needs: [clang_format, license_check, rust_format_check, markdown_lint, shellcheck]
135-
runs-on: ubuntu-24.04
134+
strategy:
135+
fail-fase: false
136+
matrix:
137+
include:
138+
- name: macOS 15 (clang) Qt6
139+
runs-on: macos-15
140+
clang_format_path: /Users/runner/Library/Python/3.14/bin/clang-format
141+
- name: Ubuntu 24.04 (gcc) Qt 6 Minimal
142+
runs-on: ubuntu-24.04
143+
clang_format_path: /home/runner/.local/bin/clang-format
144+
- name: Windows 2022 (MSVC) Qt 6 Minimal
145+
runs-on: windows-2022
146+
clang_format_path: C:\Users\runneradmin\AppData\Roaming\Python\Python312\Scripts\clang-format.exe
147+
runs-on: ${{ matrix.runs-on }}
148+
name: ${{ matrix.name }}
136149
steps:
137150
- name: "Checkout repository"
138151
uses: actions/checkout@v6
@@ -153,21 +166,20 @@ jobs:
153166
run: >-
154167
sudo apt-get update &&
155168
sudo apt-get install -y
156-
ninja-build
157169
libdouble-conversion3
158170
libgl1-mesa-dev
159171
libssl-dev
160172
libvulkan-dev
161173
libxkbcommon-dev
162174
pkg-config
163-
valgrind
164175
165176
# Just test that we can build with no Qt install available
166177
#
167178
# NOTE: no compiler cache is needed as build is fast
168179
- name: "Build"
169180
run: cargo build --package qml-minimal-no-cmake
170181
- name: Test output files exist
182+
if: runner.os == 'Linux'
171183
run: |
172184
! command -v qmake
173185
test -x ./target/debug/qml-minimal-no-cmake

0 commit comments

Comments
 (0)