Skip to content

Commit a593bef

Browse files
committed
chore: Add QT6 build to CI
1 parent 569c3b8 commit a593bef

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,34 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
include:
23-
- name: Ubuntu 22-04 GCC
23+
- name: Ubuntu 22-04 GCC QT5
2424
image: ubuntu-22.04
2525
cc: gcc
2626
cxx: g++
2727
build-type: Debug
2828
experimental: false
29-
- name: Ubuntu 22-04 Clang
29+
qt-packages: "qttools5-dev qttools5-dev-tools"
30+
- name: Ubuntu 22-04 GCC QT6
31+
image: ubuntu-22.04
32+
cc: gcc
33+
cxx: g++
34+
build-type: Debug
35+
experimental: false
36+
qt-packages: "qt6-base-dev qt6-tools-dev-tools libqt6core5compat6-dev qt6-l10n-tools"
37+
- name: Ubuntu 22-04 Clang QT5
3038
image: ubuntu-22.04
3139
cc: clang
3240
cxx: clang++
3341
build-type: Debug
3442
experimental: true
43+
qt-packages: "qttools5-dev qttools5-dev-tools"
3544
- name: Ubuntu 20-04 GCC (for AppImage comp)
3645
image: ubuntu-20.04
3746
cc: gcc
3847
cxx: g++
3948
build-type: Debug
4049
experimental: false
50+
qt-packages: "qttools5-dev qttools5-dev-tools"
4151

4252
name: ${{ matrix.name }} ${{ matrix.build-type }}
4353
runs-on: ${{ matrix.image }}
@@ -47,7 +57,7 @@ jobs:
4757
- uses: actions/checkout@v3
4858

4959
- name: Install Dependencies
50-
run: sudo apt-get update && sudo apt-get install extra-cmake-modules qttools5-dev qttools5-dev-tools libsdl2-dev libxi-dev libxtst-dev libx11-dev itstool gettext ninja-build
60+
run: sudo apt-get update && sudo apt-get install extra-cmake-modules libsdl2-dev libxi-dev libxtst-dev libx11-dev itstool gettext ninja-build ${{ matrix.qt-packages }}
5161

5262
- name: Configure CMake
5363
run: cmake -GNinja -DCHECK_FOR_UPDATES=ON -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -B ${{ github.workspace }}/build

0 commit comments

Comments
 (0)