Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6333d1b

Browse files
committed
build.yaml: Cover both Qt 5 and Qt 6
1 parent c32b1ee commit 6333d1b

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

‎.github/workflows/build.yaml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,23 @@ jobs:
3434
matrix:
3535
include:
3636
- runs-on: ubuntu-24.04
37-
qt: qt5-qmake
37+
qt_major: 6
38+
qt_qmake: qmake6
39+
qt_packages: qmake6 qt6-base-dev qt6-5compat-dev
40+
- runs-on: ubuntu-24.04
41+
qt_major: 5
42+
qt_qmake: qmake
43+
qt_packages: qt5-qmake qtbase5-dev
44+
- runs-on: ubuntu-22.04
45+
qt_major: 6
46+
qt_qmake: qmake6
47+
qt_packages: qmake6 qt6-base-dev libqt6core5compat6-dev
3848
- runs-on: ubuntu-22.04
39-
qt: qt5-qmake
49+
qt_major: 5
50+
qt_qmake: qmake
51+
qt_packages: qt5-qmake qtbase5-dev
4052

41-
name: Build (Linux, ${{ matrix.runs-on }})
53+
name: Build (Linux, ${{ matrix.runs-on }}, Qt ${{ matrix.qt_major }})
4254
runs-on: ${{ matrix.runs-on }}
4355
steps:
4456
- name: 'Install build dependencies'
@@ -49,8 +61,7 @@ jobs:
4961
build-essential \
5062
libapr1-dev \
5163
libsvn-dev \
52-
${{ matrix.qt }} \
53-
qtbase5-dev \
64+
${{ matrix.qt_packages }} \
5465
subversion
5566
5667
- name: 'Checkout Git branch'
@@ -59,8 +70,10 @@ jobs:
5970
submodules: true
6071

6172
- name: 'Configure'
73+
env:
74+
QMAKE: ${{ matrix.qt_qmake }}
6275
run: |-
63-
qmake
76+
${QMAKE}
6477
6578
- name: 'Build'
6679
run: |-

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /