mirror of
https://github.com/jaredtao/TaoQuick.git
synced 2025-01-31 21:22:58 +08:00
update github actions
This commit is contained in:
parent
361de175ba
commit
08d7608f24
4
.github/workflows/android-qt5_15_2.yml
vendored
4
.github/workflows/android-qt5_15_2.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v2.10.0
|
||||
uses: jurplel/install-qt-action@v2.13.0
|
||||
with:
|
||||
# Version of Qt to install
|
||||
version: ${{ matrix.qt_ver }}
|
||||
@ -40,7 +40,7 @@ jobs:
|
||||
target: android
|
||||
# Architecture for Windows/Android
|
||||
# arch: ${{ matrix.qt_arch }}
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
submodules: 'true'
|
||||
|
4
.github/workflows/android.yml
vendored
4
.github/workflows/android.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
qt_arch: [android_x86,android_armv7,android_arm64_v8a]
|
||||
steps:
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v2.10.0
|
||||
uses: jurplel/install-qt-action@v2.13.0
|
||||
with:
|
||||
# Version of Qt to install
|
||||
version: ${{ matrix.qt_ver }}
|
||||
@ -40,7 +40,7 @@ jobs:
|
||||
target: ${{ matrix.qt_target }}
|
||||
# Architecture for Windows/Android
|
||||
arch: ${{ matrix.qt_arch }}
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
submodules: 'true'
|
||||
|
@ -37,16 +37,17 @@ jobs:
|
||||
|
||||
- name: Install Qt
|
||||
# if: steps.cacheqt.outputs.cache-hit != 'true'
|
||||
uses: jurplel/install-qt-action@v2.10.0
|
||||
uses: jurplel/install-qt-action@v2.13.0
|
||||
with:
|
||||
# Version of Qt to install
|
||||
version: ${{ matrix.qt_ver }}
|
||||
# Target platform for build
|
||||
target: ${{ matrix.qt_target }}
|
||||
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
submodules: 'true'
|
||||
- name: build ios
|
||||
run: |
|
||||
qmake -r -spec macx-ios-clang CONFIG+=release CONFIG+=iphoneos
|
4
.github/workflows/ios.yml
vendored
4
.github/workflows/ios.yml
vendored
@ -32,14 +32,14 @@ jobs:
|
||||
steps:
|
||||
- name: Install Qt
|
||||
# if: steps.cacheqt.outputs.cache-hit != 'true'
|
||||
uses: jurplel/install-qt-action@v2.10.0
|
||||
uses: jurplel/install-qt-action@v2.13.0
|
||||
with:
|
||||
# Version of Qt to install
|
||||
version: ${{ matrix.qt_ver }}
|
||||
# Target platform for build
|
||||
target: ${{ matrix.qt_target }}
|
||||
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
submodules: 'true'
|
||||
|
4
.github/workflows/macos-11_0.yml
vendored
4
.github/workflows/macos-11_0.yml
vendored
@ -37,11 +37,11 @@ jobs:
|
||||
softwareupdate --all --install --force
|
||||
sudo xcode-select --switch /Library/Developer/CommandLineTools
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v2.10.0
|
||||
uses: jurplel/install-qt-action@v2.13.0
|
||||
with:
|
||||
version: ${{ matrix.qt_ver }}
|
||||
cached: 'false'
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
submodules: 'true'
|
||||
|
8
.github/workflows/macos.yml
vendored
8
.github/workflows/macos.yml
vendored
@ -33,11 +33,11 @@ jobs:
|
||||
targetName: TaoQuickShow
|
||||
steps:
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v2.10.0
|
||||
uses: jurplel/install-qt-action@v2.13.0
|
||||
with:
|
||||
version: ${{ matrix.qt_ver }}
|
||||
cached: 'false'
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
submodules: 'true'
|
||||
@ -53,8 +53,8 @@ jobs:
|
||||
# 上传artifacts
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${targetName}_${{matrix.qt_ver}}.zip
|
||||
path: bin/release/${targetName}.app
|
||||
name: ${{ env.targetName }}_${{matrix.qt_ver}}.zip
|
||||
path: bin/release/${{ env.targetName }}.app
|
||||
# tag 上传Release
|
||||
- name: uploadRelease
|
||||
if: startsWith(github.event.ref, 'refs/tags/')
|
||||
|
4
.github/workflows/ubuntu.yml
vendored
4
.github/workflows/ubuntu.yml
vendored
@ -32,13 +32,13 @@ jobs:
|
||||
qt_arch: [gcc_64]
|
||||
steps:
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v2.10.0
|
||||
uses: jurplel/install-qt-action@v2.13.0
|
||||
with:
|
||||
version: ${{ matrix.qt_ver }}
|
||||
cached: 'false'
|
||||
- name: ubuntu install GL library
|
||||
run: sudo apt-get install -y libglew-dev libglfw3-dev
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
submodules: 'true'
|
||||
|
5
.github/workflows/windows.yml
vendored
5
.github/workflows/windows.yml
vendored
@ -67,17 +67,16 @@ jobs:
|
||||
# 安装Qt
|
||||
- name: Install Qt
|
||||
# 使用外部action。这个action专门用来安装Qt
|
||||
uses: jurplel/install-qt-action@v2.10.0
|
||||
uses: jurplel/install-qt-action@v2.13.0
|
||||
with:
|
||||
# Version of Qt to install
|
||||
version: ${{ matrix.qt_ver }}
|
||||
# Target platform for build
|
||||
# target: ${{ matrix.qt_target }}
|
||||
arch: ${{ matrix.qt_arch }}
|
||||
aqtversion: '==0.10.0'
|
||||
cached: 'false'
|
||||
# 拉取代码
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
submodules: 'true'
|
||||
|
@ -3,7 +3,7 @@ TARGET = TaoQuickShow
|
||||
|
||||
QT += core gui qml quick
|
||||
|
||||
CONFIG += c++1z qtquickcompiler utf8_source
|
||||
CONFIG += c++17 qtquickcompiler utf8_source
|
||||
|
||||
load(taoVersion)
|
||||
setTaoVersion()
|
||||
|
Loading…
x
Reference in New Issue
Block a user