mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-19 18:30:34 +08:00
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:
parent
3b5e3cc758
commit
1a61e7fdd0
14
.github/workflows/build-qv2ray-cmake.yml
vendored
14
.github/workflows/build-qv2ray-cmake.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user