GH actions 11
This commit is contained in:
parent
ec65e2025e
commit
60e25d9c67
1 changed files with 102 additions and 4 deletions
106
.github/workflows/deploy.yml
vendored
106
.github/workflows/deploy.yml
vendored
|
@ -16,10 +16,27 @@ jobs:
|
||||||
QIF_VERSION: 4.4
|
QIF_VERSION: 4.4
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup env
|
- name: Install Qt
|
||||||
run: |
|
uses: jurplel/install-qt-action@v3
|
||||||
QT_BIN_DIR=$HOME/Qt/$QT_VERSION/gcc_64/bin && export QT_BIN_DIR && \
|
host: linux
|
||||||
QIF_BIN_DIR=$QT_BIN_DIR/../../../Tools/QtInstallerFramework/$QIF_VERSION/bin && export QIF_BIN_DIR
|
with:
|
||||||
|
version: '5.15.2'
|
||||||
|
host: 'linux'
|
||||||
|
target: 'desktop'
|
||||||
|
arch: 'gcc_64'
|
||||||
|
dir: '${{ github.workspace }}/Qt/'
|
||||||
|
install-deps: 'true'
|
||||||
|
modules: 'qtcharts'
|
||||||
|
archives: 'qtbase qtsvg'
|
||||||
|
cache: 'true'
|
||||||
|
cache-key-prefix: 'install-qt-action-linux'
|
||||||
|
setup-python: 'true'
|
||||||
|
tools: 'tools_ifw tools_qtcreator,qt.tools.qtcreator'
|
||||||
|
set-env: 'true'
|
||||||
|
tools-only: 'false'
|
||||||
|
aqtversion: '==2.1.*'
|
||||||
|
py7zrversion: '==0.19.*'
|
||||||
|
extra: '--external 7z'
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
@ -51,3 +68,84 @@ jobs:
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: bash deploy/build_linux.sh
|
run: bash deploy/build_linux.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Build-Windows-x64:
|
||||||
|
name: Build-Windows-x64
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
env:
|
||||||
|
QT_VERSION: 5.15.2
|
||||||
|
QIF_VERSION: 4.4
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Install Qt
|
||||||
|
uses: jurplel/install-qt-action@v3
|
||||||
|
host: windows
|
||||||
|
with:
|
||||||
|
version: '5.15.2'
|
||||||
|
host: 'windows'
|
||||||
|
target: 'desktop'
|
||||||
|
arch: 'win64_msvc2019_64'
|
||||||
|
dir: '${{ github.workspace }}/Qt/'
|
||||||
|
install-deps: 'true'
|
||||||
|
modules: 'qtcharts'
|
||||||
|
archives: 'qtbase qtsvg'
|
||||||
|
cache: 'false'
|
||||||
|
cache-key-prefix: 'install-qt-action-windows64'
|
||||||
|
setup-python: 'true'
|
||||||
|
tools: 'tools_ifw tools_qtcreator,qt.tools.qtcreator'
|
||||||
|
set-env: 'true'
|
||||||
|
tools-only: 'false'
|
||||||
|
aqtversion: '==2.1.*'
|
||||||
|
py7zrversion: '==0.19.*'
|
||||||
|
extra: '--external 7z'
|
||||||
|
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 10
|
||||||
|
|
||||||
|
- name: Build project
|
||||||
|
run: cmd //c winbuild.bat
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Build-MacOS:
|
||||||
|
name: Build-MacOS
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
env:
|
||||||
|
QT_VERSION: 5.15.2
|
||||||
|
QIF_VERSION: 4.4
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Install Qt
|
||||||
|
uses: jurplel/install-qt-action@v3
|
||||||
|
host: windows
|
||||||
|
with:
|
||||||
|
version: '5.15.2'
|
||||||
|
host: 'mac'
|
||||||
|
target: 'desktop'
|
||||||
|
arch: 'clang_64'
|
||||||
|
dir: '${{ github.workspace }}/Qt/'
|
||||||
|
install-deps: 'true'
|
||||||
|
modules: 'qtcharts'
|
||||||
|
archives: 'qtbase qtsvg'
|
||||||
|
cache: 'true'
|
||||||
|
cache-key-prefix: 'install-qt-action-mac'
|
||||||
|
setup-python: 'true'
|
||||||
|
tools: 'tools_ifw tools_qtcreator,qt.tools.qtcreator'
|
||||||
|
set-env: 'true'
|
||||||
|
tools-only: 'false'
|
||||||
|
aqtversion: '==2.1.*'
|
||||||
|
py7zrversion: '==0.19.*'
|
||||||
|
extra: '--external 7z'
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 10
|
||||||
|
|
||||||
|
- name: Build project
|
||||||
|
run: bash deploy/build_macos.sh
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue