Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov authored May 14, 2024
1 parent 28da513 commit 08d125d
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,26 @@ jobs:
os-name: windows
qt-version: '5.12'
mingw-short-version: 73
qt-extra-archives: 'qtmultimedia qtimageformats qtwinextras opengl32sw i686'
qt5-extra-archives: 'qtwinextras opengl32sw i686'

- os: ubuntu-latest
os-name: linux
qt-version: '5.12'
qt-extra-archives: 'qtmultimedia qtimageformats qtx11extras icu'
qt5-extra-archives: 'qtx11extras icu'

- os: ubuntu-latest
os-name: linux
qt-version: '5.15'
qt-extra-archives: 'qtmultimedia qtimageformats qtx11extras icu'
qt5-extra-archives: 'qtx11extras icu'

- os: macos-12
os-name: mac
qt-version: '5.12'
qt-extra-archives: 'qtmultimedia qtimageformats qtmacextras'
qt5-extra-archives: 'qtmacextras'

- os: ubuntu-latest
os-name: linux
qt-version: '6.5'
qt-extra-archives: 'icu'
qt-version: '6.5'

defaults:
run:
Expand All @@ -52,10 +51,10 @@ jobs:
with:
version: ${{ matrix.qt-version }}
host: ${{ matrix.os-name }}
modules: ${{format('{0}', (startsWith(matrix.qt-version, '6') && ' qt5compat qtmultimedia qtimageformats' || ''))}}
modules: ${{ startsWith(matrix.qt-version, '6') && 'qt5compat qtmultimedia qtimageformats' || '' }}
arch: ${{ matrix.mingw-short-version != '' && format('win32_mingw{0}', matrix.mingw-short-version) || '' }}
tools: ${{ matrix.mingw-short-version != '' && format('tools_mingw,qt.tools.win32_mingw{0}0', matrix.mingw-short-version) || '' }}
archives: ${{ format('qttools qtsvg qtbase qttranslations {0}', matrix.qt-extra-archives) }}
archives: ${{startsWith(matrix.qt-version, '6') && '' || format('qttools qtsvg qtbase qttranslations qtmultimedia qtimageformats {0}', matrix.qt5-extra-archives) }}
add-tools-to-path: true
# cache: true

Expand Down Expand Up @@ -91,7 +90,7 @@ jobs:
fi
- name: QMake
run: "qmake${{startsWith(matrix.qt-version, '6') && '6' || '' }} trikCheckApp.pro CONFIG+=release"
run: qmake trikCheckApp.pro CONFIG+=release

- name: QMake all
timeout-minutes: 1
Expand Down

0 comments on commit 08d125d

Please sign in to comment.