added matrix for all android arch

This commit is contained in:
vladimir.kuznetsov 2022-11-27 12:32:45 +03:00
parent c85ad470ba
commit 2e5171c205
5 changed files with 41 additions and 29 deletions

View file

@ -46,23 +46,11 @@ jobs:
Build-Windows:
name: Build-Windows
runs-on: windows-latest
continue-on-error: true
strategy:
matrix:
arch: [64]
include:
- qt-arch: 'win64_msvc2019_64'
arch: 64
- qt-msvc-path: 'msvc2019_64'
arch: 64
- msvc-arch: 'x64'
arch: 64
env:
QT_VERSION: 6.4.1
QIF_VERSION: 4.5
BUILD_ARCH: ${{ matrix.arch }}
BUILD_ARCH: 64
steps:
- name: 'Get sources'
@ -80,7 +68,7 @@ jobs:
version: ${{ env.QT_VERSION }}
host: 'windows'
target: 'desktop'
arch: '${{ matrix.qt-arch }}'
arch: 'win64_msvc2019_64'
modules: 'qtremoteobjects qt5compat'
dir: ${{ runner.temp }}
setup-python: 'true'
@ -91,13 +79,13 @@ jobs:
- name: 'Setup mvsc'
uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.msvc-arch }}
arch: 'x64'
- name: 'Build project'
shell: cmd
run: |
set BUILD_ARCH=${{ env.BUILD_ARCH }}
set QT_BIN_DIR="${{ runner.temp }}\\Qt\\${{ env.QT_VERSION }}\\${{ matrix.qt-msvc-path }}\\bin"
set QT_BIN_DIR="${{ runner.temp }}\\Qt\\${{ env.QT_VERSION }}\\msvc2019_64\\bin"
set QIF_BIN_DIR="${{ runner.temp }}\\Qt\\Tools\\QtInstallerFramework\\${{ env.QIF_VERSION }}\\bin"
call deploy\\build_windows.bat
@ -117,7 +105,18 @@ jobs:
with:
xcode-version: '13.4'
- name: 'Install Qt'
- name: 'Install desktop Qt'
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.QT_VERSION }}
host: 'mac'
target: 'desktop'
arch: 'clang_64'
modules: 'qtremoteobjects qt5compat'
dir: ${{ runner.temp }}
set-env: 'true'
- name: 'Install ios Qt'
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.QT_VERSION }}
@ -128,7 +127,6 @@ jobs:
setup-python: 'true'
set-env: 'true'
extra: '--external 7z'
aqtversion: '==3.0.*'
- name: 'Install go'
uses: actions/setup-go@v3
@ -205,19 +203,37 @@ jobs:
Build-Android:
name: 'Build-Android'
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
arch: ['android_x86_64', 'android_x86'] #, 'android_armv7', 'android_arm64_v8a']
env:
QT_VERSION: 6.4.1
QIF_VERSION: 4.5
steps:
- name: 'Install Qt'
- name: 'Install desktop Qt'
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.QT_VERSION }}
host: 'linux'
target: 'desktop'
arch: 'gcc_64'
modules: 'qtremoteobjects qt5compat'
dir: ${{ runner.temp }}
setup-python: 'true'
set-env: 'true'
extra: '--external 7z'
- name: 'Install android Qt'
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.QT_VERSION }}
host: 'linux'
target: 'android'
arch: 'android'
arch: ${{ matrix.arch }}
modules: 'qtremoteobjects qt5compat'
dir: ${{ runner.temp }}
setup-python: 'true'
@ -251,5 +267,5 @@ jobs:
unzip -q -d ${{ runner.temp }} ${{ runner.temp }}/ndk.zip ;
fi
export QT_BIN_DIR=${{ runner.temp }}/Qt/${{ env.QT_VERSION }}/android/bin
export QT_BIN_DIR=${{ runner.temp }}/Qt/${{ env.QT_VERSION }}/${{ matrix.arch }}/bin
bash deploy/build_android.sh