Browse Source

Merge pull request #1640 from rilian-la-te/clang-qt6

vcmi: use qt6 for clang linux build
Ivan Savenko 2 years ago
parent
commit
f73a655ac1
3 changed files with 14 additions and 2 deletions
  1. 2 2
      .github/workflows/github.yml
  2. 11 0
      CI/linux-qt6/before_install.sh
  3. 1 0
      CI/linux-qt6/upload_package.sh

+ 2 - 2
.github/workflows/github.yml

@@ -68,8 +68,8 @@ jobs:
     strategy:
       matrix:
         include:
-          - platform: linux
-            os: ubuntu-20.04
+          - platform: linux-qt6
+            os: ubuntu-22.04
             test: 0
             preset: linux-clang-release
           - platform: linux

+ 11 - 0
CI/linux-qt6/before_install.sh

@@ -0,0 +1,11 @@
+#!/bin/sh
+
+sudo apt-get update
+
+# Dependencies
+sudo apt-get install libboost-all-dev
+sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev
+sudo apt-get install qt6-base-dev qt6-base-dev-tools qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools
+sudo apt-get install ninja-build zlib1g-dev libavformat-dev libswscale-dev libtbb-dev libluajit-5.1-dev
+# Optional dependencies
+sudo apt-get install libminizip-dev libfuzzylite-dev

+ 1 - 0
CI/linux-qt6/upload_package.sh

@@ -0,0 +1 @@
+#!/bin/sh