Skip to content

Commit

Permalink
switch to jurplel/install-qt-action@v3 to stabilize CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderOrb committed Aug 22, 2023
1 parent 0c24aa0 commit 9e277af
Showing 1 changed file with 46 additions and 21 deletions.
67 changes: 46 additions & 21 deletions .github/workflows/qctools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,8 @@ jobs:
- compiler: gcc-9
packages: gcc-9 g++-9
env: { 'CC': 'gcc-9', 'CXX': 'g++-9' }
- qt_version: "5.15.2"
qt_packages: "libxkbcommon-dev libgstreamer-plugins-base1.0-0 libgstreamer-gl1.0-0"

runs-on: ubuntu-latest

Expand Down Expand Up @@ -313,10 +315,9 @@ jobs:
libiec61883-dev
- name: Install Qt 5.15
uses: jurplel/install-qt-action@v2
uses: jurplel/install-qt-action@v3
with:
arch: win64_mingw81
version: 5.15.2
version: ${{ matrix.qt_version }}

- name: Cleanup
run: |
Expand Down Expand Up @@ -363,6 +364,9 @@ jobs:
- compiler: gcc-9
packages: gcc-9 g++-9
env: { 'CC': 'gcc-9', 'CXX': 'g++-9' }
- qt_version: "6.5.0"
qt_modules: "qtmultimedia qt5compat"
qt_packages: "libxkbcommon-dev libgstreamer-plugins-base1.0-0 libgstreamer-gl1.0-0"

runs-on: ubuntu-latest

Expand Down Expand Up @@ -402,11 +406,11 @@ jobs:
libxkbcommon-dev \
libxv-dev
- name: Install Qt 6.2
uses: jurplel/install-qt-action@v2
- name: Install Qt 6
uses: jurplel/install-qt-action@v3
with:
version: 6.2.0
modules: 'addons.qtmultimedia qt5compat'
version: ${{ matrix.qt_version }}
modules: ${{ matrix.qt_modules }}

- name: Cleanup
run: |
Expand Down Expand Up @@ -446,6 +450,10 @@ jobs:
build-windows-mingw:

strategy:
matrix:
qt_version: ["5.15.2"]

runs-on: windows-latest

steps:
Expand Down Expand Up @@ -478,10 +486,10 @@ jobs:
make install
- name: Install Qt 5.15
uses: jurplel/install-qt-action@v2
uses: jurplel/install-qt-action@v3
with:
arch: win64_mingw81
version: 5.15.2
version: ${{ matrix.qt_version }}

- name: Install wget & unzip
run: |
Expand Down Expand Up @@ -527,6 +535,12 @@ jobs:
build-windows-mingw-Qt6:

strategy:
matrix:
include:
- qt_version: "6.3.0"
qt_modules: "qtmultimedia qt5compat"

runs-on: windows-latest

steps:
Expand Down Expand Up @@ -558,12 +572,12 @@ jobs:
..
make install
- name: Install Qt 6.2
uses: jurplel/install-qt-action@v2
- name: Install Qt 6
uses: jurplel/install-qt-action@v3
with:
arch: win64_mingw81
version: 6.2.0
modules: 'addons.qtmultimedia'
version: ${{ matrix.qt_version }}
modules: ${{ matrix.qt_modules }}

- name: Install wget & unzip
run: |
Expand Down Expand Up @@ -609,6 +623,10 @@ jobs:
build-windows-vs:

strategy:
matrix:
qt_version: ["5.15.2"]

runs-on: windows-latest

steps:
Expand Down Expand Up @@ -646,9 +664,9 @@ jobs:
nmake install
- name: Install Qt 5.15
uses: jurplel/install-qt-action@v2
with:
version: 5.15.2
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.qt_version }}

- name: Install wget & unzip
run: |
Expand Down Expand Up @@ -694,6 +712,12 @@ jobs:
build-windows-vs-Qt6:

strategy:
matrix:
include:
- qt_version: "6.3.0"
qt_modules: "qtmultimedia qt5compat"

runs-on: windows-latest

steps:
Expand Down Expand Up @@ -730,11 +754,12 @@ jobs:
..
nmake install
- name: Install Qt 6.2
uses: jurplel/install-qt-action@v2
with:
version: 6.2.0
modules: 'addons.qtmultimedia'
- name: Install Qt 6
uses: jurplel/install-qt-action@v3
with:
arch: win64_msvc2019_64
version: ${{ matrix.qt_version }}
modules: ${{ matrix.qt_modules }}

- name: Install wget & unzip
run: |
Expand Down

0 comments on commit 9e277af

Please sign in to comment.