Skip to content

Commit 641d20e

Browse files
committed
Add Qt to CI.
1 parent 3059574 commit 641d20e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,21 @@ jobs:
1010
build:
1111
runs-on: windows-2022
1212
steps:
13+
- name: Install Qt
14+
uses: jurplel/install-qt-action@v3
15+
with:
16+
version: 6.7.0
17+
modules:
18+
cache: true
19+
1320
- uses: actions/checkout@v4
1421

1522
- name: Configure Github++ build
1623
shell: pwsh
1724
run: |
18-
cmake --preset vs2022-windows "-DCMAKE_INSTALL_PREFIX=install"
25+
cmake --preset vs2022-windows `
26+
"-DCMAKE_PREFIX_PATH=${env:QT_ROOT_DIR}\msvc2019_64" `
27+
"-DCMAKE_INSTALL_PREFIX=install"
1928
2029
- name: Build Github++
2130
run: cmake --build vsbuild --config RelWithDebInfo

0 commit comments

Comments
 (0)