From 8ceea5b40e3d49a473cd00a5c27b98e53ff7243d Mon Sep 17 00:00:00 2001 From: Dimitris Kalamaras Date: Sun, 24 Nov 2024 03:41:44 +0200 Subject: [PATCH] work on GHA build yml, fixes2 --- .github/workflows/build-ci.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 78ee1651..67b7c03e 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -55,9 +55,22 @@ jobs: version: ${{ matrix.qt-version }} arch: win64_mingw modules: qtwebsockets core5compat xml network widgets printsupport charts svg + - if: contains( matrix.os, 'ubuntu') && startsWith( matrix.qt-version, '6.' ) + - name: Install dependencies + run: | + sudo apt update + sudo apt install \ + build-essential cmake ninja-build \ + libssl-dev libxkbcommon-x11-dev libxcb-cursor-dev zlib1g-dev + - name: Install Qt 6 on Linux + uses: jurplel/install-qt-action@v4 + with: + aqtversion: '==2.0.0' + version: ${{ matrix.qt-version }} + modules: qtwebsockets core5compat xml network widgets printsupport charts svg - - if: false == contains( matrix.os, 'windows') && startsWith( matrix.qt-version, '6.' ) - name: Install Qt 6 on Linux/macOS + - if: contains( matrix.os, 'macos') && startsWith( matrix.qt-version, '6.' ) + name: Install Qt 6 on macOS uses: jurplel/install-qt-action@v4 with: aqtversion: '==2.0.0'