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 b5111c4 commit 8261d44
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
os-name: linux
qt-version: '5.15'

- os: macos-latest
- os: macos-12
os-name: mac
qt-version: '5.12'

- os: ubuntu-latest
os-name: linux
qt-version: '6'
qt-version: '6.5'

defaults:
run:
Expand All @@ -52,6 +52,7 @@ jobs:
with:
version: ${{ matrix.qt-version }}
host: ${{ matrix.os-name }}
modules: ${{join([(startsWith(matrix.qt-version, '6') && 'qt5compat ' || ''), 'qtmultimedia'], ' ')}}
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) || '' }}

Expand All @@ -60,7 +61,7 @@ jobs:
set -xue
cygpath -w /usr/bin >> $GITHUB_PATH
cygpath -w "${IQTA_TOOLS}/mingw${{matrix.mingw-short-version}}0_32/bin" >> $GITHUB_PATH
cygpath -w "${Qt5_Dir}/bin" >> $GITHUB_PATH
cygpath -w "${Qt${{startsWith(matrix.qt-version, '6') && '6' || '5' }}_DIR}/bin" >> $GITHUB_PATH
if: ${{ matrix.os-name == 'windows' }}

- name: Check available tools
Expand All @@ -87,7 +88,7 @@ jobs:
fi
- name: QMake
run: 'qmake trikCheckApp.pro CONFIG+=release'
run: "qmake${{startsWith(matrix.qt-version, '6') && '6' || '' }} trikCheckApp.pro CONFIG+=release"

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

0 comments on commit 8261d44

Please sign in to comment.