[ci] install qt

This commit is contained in:
Kevin Yue 2021-08-22 23:56:05 +08:00
parent 165080b476
commit 1300a0cc43
3 changed files with 8 additions and 3 deletions

View File

@ -16,7 +16,7 @@ jobs:
- name: Install Qt - name: Install Qt
uses: jurplel/install-qt-action@v2 uses: jurplel/install-qt-action@v2
with: with:
version: '5.12.11' version: 5.12.11
modules: 'qtwebengine qtwebsockets' modules: 'qtwebengine qtwebsockets'
# Checkout repository and submodules # Checkout repository and submodules

View File

@ -43,9 +43,14 @@ jobs:
--prefix=globalprotect-openconnect-${{ steps.vars.outputs.VERSION }}/ \ --prefix=globalprotect-openconnect-${{ steps.vars.outputs.VERSION }}/ \
./globalprotect-openconnect_${{ steps.vars.outputs.VERSION }}.orig.tar.gz ./globalprotect-openconnect_${{ steps.vars.outputs.VERSION }}.orig.tar.gz
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: '5.12.11'
modules: 'qtwebengine qtwebsockets'
- name: "Packaging" - name: "Packaging"
run: | run: |
sudo apt install qtbase5-dev libqt5websockets5-dev qtwebengine5-dev qttools5-dev debhelper
mkdir build-debian && cd build-debian mkdir build-debian && cd build-debian
cp ../*.tar.gz . cp ../*.tar.gz .
tar xf *.tar.gz tar xf *.tar.gz

View File

@ -11,7 +11,7 @@ jobs:
- name: Install Qt - name: Install Qt
uses: jurplel/install-qt-action@v2 uses: jurplel/install-qt-action@v2
with: with:
version: 5.15.2 version: 5.12.11
modules: 'qtwebengine qtwebsockets' modules: 'qtwebengine qtwebsockets'
# Checkout repository and submodules # Checkout repository and submodules