Skip to content

chore: update c++ 20! #115

chore: update c++ 20!

chore: update c++ 20! #115

Workflow file for this run

name: Build
on:
push:
branches:
- master
- develop
jobs:
build-desktop:
name: Build on Desktop
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
arch: win64_msvc2019_64
script: win_build.bat
dist-ext: 7z
# - os: ubuntu-20.04
# script: unx_build.sh
# dist-ext: AppImage
# - os: macos-10.15
# script: mac_build.sh
# dist-ext: dmg
steps:
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
with:
path: ../Qt
key: ${{ runner.os }}-QtCache5152
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: 5.15.2
target: desktop
arch: ${{ matrix.arch }}
modules: qtwebengine qtwebchannel qtpositioning qtwebsockets
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Checkout codes
uses: actions/checkout@v2
with:
fetch-depth: 1
submodules: 'recursive'
- name: Check Permission
if: ${{ !startsWith(matrix.os, 'windows') }}
run: chmod u+x ./scripts/${{ matrix.script }}
- name: Build Project
run: ./scripts/${{ matrix.script }}
env:
VERSION_MAJOR: 3
VERSION_MINOR: 2
VERSION_PATCH: 0
VERSION_TWEAK: ${{ github.run_number }}
- name: Update Tag
run: |
git tag --force continuous-build ${GITHUB_SHA}
git push --force --tags
- name: Update Continuous Build Release
uses: johnwbyrd/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: ./build/win_deploy/DBLParse_latest_gh.${{ matrix.dist-ext }}
release: Continuous Build
tag: continuous-build