Skip to content

[CI][premake] Use Qt5.15.0 and Qt6.0.4 #32

[CI][premake] Use Qt5.15.0 and Qt6.0.4

[CI][premake] Use Qt5.15.0 and Qt6.0.4 #32

Workflow file for this run

name: windows_cmake
on:
workflow_dispatch:
push:
pull_request:
jobs:
windows:
runs-on: windows-latest
strategy:
fail-fast: true
matrix:
qt-version: ['5.15.0', '6.0.4', '6.7.0']
include:
- qt-arch: 'win64_msvc2019_64' # No 2022 version yet
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Installing Qt - ${{matrix.qt-version}} ${{matrix.qt-arch}}
uses: jurplel/install-qt-action@v4
with:
version: ${{matrix.qt-version}}
arch: ${{matrix.qt-arch}}
cache: true
cache-key-prefix: 'qt-action@v4-Qt${{matrix.qt-version}}_${{matrix.qt-arch}}'
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: build with cmake
run: |
mkdir cmake-build
cd cmake-build
cmake -DCMAKE_BUILD_TYPE=Release .. && cmake --build . --config Release
- name: Upload
uses: actions/upload-artifact@v4
with:
name: qt-json-editor-qt${{matrix.qt-version}}
path: |
cmake-build/Release/**.*
${{ env.QT_ROOT_DIR }}/plugins/designer/qt-json-designer-plugin.*