aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-02-16 13:50:20 +0000
committerSaturneric <[email protected]>2023-02-16 13:50:20 +0000
commit3326da67f70e0c4be93d930b780888051c0927da (patch)
tree0756780a329eb57627edcb41a8eeff9d78be5db4
parentfix: reduce info level logs (diff)
downloadGpgFrontend-3326da67f70e0c4be93d930b780888051c0927da.tar.gz
GpgFrontend-3326da67f70e0c4be93d930b780888051c0927da.zip
feat: support qt6 in github action build
-rw-r--r--.github/workflows/debug.yml11
-rw-r--r--.github/workflows/release-deb-package.yml16
-rw-r--r--.github/workflows/release.yml6
3 files changed, 9 insertions, 24 deletions
diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml
index 26bbcad2..3057a329 100644
--- a/.github/workflows/debug.yml
+++ b/.github/workflows/debug.yml
@@ -53,10 +53,10 @@ jobs:
- name: Install Dependence (macOS)
run: |
- brew install cmake autoconf automake qt@5 texinfo gettext [email protected]
+ brew install cmake autoconf automake qt texinfo gettext [email protected]
brew install boost ninja libarchive libconfig gpgme
brew unlink gettext && brew link --force gettext
- brew link qt@5
+ brew link qt
brew link [email protected] --force
if: matrix.os == 'macos-10.15' || matrix.os == 'macos-11' || matrix.os == 'macos-12'
@@ -92,12 +92,13 @@ jobs:
uses: actions/cache@v1
with:
path: ../Qt
- key: ${{ runner.os }}-QtCache
+ key: ${{ runner.os }}-qt-cache-6
if: matrix.os == 'ubuntu-latest'
- name: Install Qt
- uses: jurplel/install-qt-action@v2
+ uses: jurplel/install-qt-action@v3
with:
+ version: '6.4.2'
cached: ${{ steps.cache-qt.outputs.cache-hit }}
if: matrix.os == 'ubuntu-latest'
@@ -113,7 +114,7 @@ jobs:
run: |
pacman --noconfirm -S --needed mingw-w64-x86_64-gcc mingw-w64-x86_64-make mingw-w64-x86_64-cmake autoconf
pacman --noconfirm -S --needed make texinfo mingw-w64-x86_64-libconfig mingw-w64-x86_64-boost automake
- pacman --noconfirm -S --needed mingw-w64-x86_64-qt5 libintl msys2-runtime-devel gettext-devel
+ pacman --noconfirm -S --needed mingw-w64-x86_64-qt6 libintl msys2-runtime-devel gettext-devel
pacman --noconfirm -S --needed mingw-w64-x86_64-ninja mingw-w64-x86_64-gnupg mingw-w64-x86_64-gpgme
pacman --noconfirm -S --needed mingw-w64-x86_64-libarchive mingw-w64-x86_64-icu mingw-w64-x86_64-icu-debug-libs
if: matrix.os == 'windows-latest'
diff --git a/.github/workflows/release-deb-package.yml b/.github/workflows/release-deb-package.yml
index f5aff6a0..735d0396 100644
--- a/.github/workflows/release-deb-package.yml
+++ b/.github/workflows/release-deb-package.yml
@@ -36,22 +36,6 @@ jobs:
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- - name: Install Dependence (Ubuntu 18.04)
- run: |
- sudo apt-get update
- sudo apt-get -y install build-essential binutils git autoconf automake gettext texinfo qt5-default
- sudo apt-get -y install gcc-8 g++-8 ninja-build
- sudo apt-get -y install libconfig++-dev libboost-all-dev libarchive-dev libssl-dev
- sudo apt-get -y install gpgsm libxcb-xinerama0 libxcb-icccm4-dev libcups2-dev libdrm-dev libegl1-mesa-dev
- sudo apt-get -y install libgcrypt11-dev libnss3-dev libpci-dev libpulse-dev libudev-dev libxtst-dev gyp
- sudo apt-get -y install libglu1-mesa-dev libfontconfig1-dev libx11-xcb-dev libicu-dev libxcb-image0
- sudo apt-get -y install libglu1-mesa-dev libfontconfig1-dev libx11-xcb-dev libicu-dev libxcb-*
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 8
- sudo update-alternatives --set gcc "/usr/bin/gcc-8"
- sudo update-alternatives --set g++ "/usr/bin/g++-8"
- if: matrix.os == 'ubuntu-18.04'
-
- name: Install Dependence (Ubuntu 20.04)
run: |
sudo apt-get update
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9b9e8f82..63151717 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -96,10 +96,10 @@ jobs:
- name: Install Dependence (macOS)
run: |
- brew install cmake autoconf automake qt@5 texinfo gettext [email protected]
+ brew install cmake autoconf automake qt texinfo gettext [email protected]
brew install boost ninja libarchive libconfig gpgme
brew unlink gettext && brew link --force gettext
- brew link qt@5
+ brew link qt
brew link [email protected] --force
if: matrix.os == 'macos-10.15' || matrix.os == 'macos-11' || matrix.os == 'macos-12'
@@ -156,7 +156,7 @@ jobs:
run: |
pacman --noconfirm -S --needed mingw-w64-x86_64-gcc mingw-w64-x86_64-make mingw-w64-x86_64-cmake autoconf
pacman --noconfirm -S --needed make texinfo mingw-w64-x86_64-libconfig mingw-w64-x86_64-boost automake
- pacman --noconfirm -S --needed mingw-w64-x86_64-qt5 libintl msys2-runtime-devel gettext-devel mingw-w64-x86_64-gpgme
+ pacman --noconfirm -S --needed mingw-w64-x86_64-qt6 libintl msys2-runtime-devel gettext-devel mingw-w64-x86_64-gpgme
pacman --noconfirm -S --needed mingw-w64-x86_64-ninja mingw-w64-x86_64-gnupg mingw-w64-x86_64-libarchive
pacman --noconfirm -S --needed mingw-w64-x86_64-icu mingw-w64-x86_64-icu-debug-libs
if: matrix.os == 'windows-2019'