Test against multiple qt version. (#413)

* Update build-qv2ray-cmake.yml

* Update build-qv2ray-cmake.yml

* Update build-qv2ray-cmake.yml

* Update build-qv2ray-cmake.yml

* Update build-qv2ray-cmake.yml

* Update build-qv2ray-cmake.yml
This commit is contained in:
Qv2ray-dev 2020-03-12 10:18:57 +08:00 committed by GitHub
parent 3b5e3cc758
commit 1a61e7fdd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,23 +9,25 @@ jobs:
build:
strategy:
matrix:
qt_version: [5.13.2, 5.14.1]
qt_version: [5.11.3, 5.12.7, 5.13.2, 5.14.2]
platform: [ubuntu-16.04, macos-latest, windows-latest]
arch: [x86, x64]
include:
- platform: windows-latest
arch: x86
qtarch: win32_msvc2017
buildarch: Win32
- platform: windows-latest
arch: x64
qtarch: win64_msvc2017_64
buildarch: x64
exclude:
- platform: ubuntu-16.04
arch: x86
- platform: macos-latest
arch: x86
- platform: windows-latest
qt_version: 5.11.3
- platform: windows-latest
qt_version: 5.12.7
fail-fast: false
runs-on: ${{ matrix.platform }}
@ -161,7 +163,7 @@ jobs:
path: build/AppDir/Qv2ray.AppImage
- name: Linux - ${{ matrix.qt_version }} - Upload binaries to release
uses: svenstaro/upload-release-action@v1-release
if: github.event_name == 'release' && matrix.platform == 'ubuntu-16.04' && matrix.qt_version == '5.14.1'
if: github.event_name == 'release' && matrix.platform == 'ubuntu-16.04' && matrix.qt_version == '5.14.2'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/AppDir/Qv2ray.AppImage
@ -182,7 +184,7 @@ jobs:
path: build/Qv2ray.app.tar.gz
- name: macOS - ${{ matrix.qt_version }} - Upload binaries to release
uses: svenstaro/upload-release-action@v1-release
if: github.event_name == 'release' && matrix.platform == 'macos-latest' && matrix.qt_version == '5.14.1'
if: github.event_name == 'release' && matrix.platform == 'macos-latest' && matrix.qt_version == '5.14.2'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/Qv2ray.app.tar.gz
@ -204,7 +206,7 @@ jobs:
path: release.7z
- name: Win-${{ matrix.arch }} - ${{ matrix.qt_version }} - Upload binaries to release
uses: svenstaro/upload-release-action@v1-release
if: github.event_name == 'release' && matrix.platform == 'windows-latest' && matrix.qt_version == '5.14.1'
if: github.event_name == 'release' && matrix.platform == 'windows-latest' && matrix.qt_version == '5.14.2'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: release.7z