mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Added Mac Qt6 build
This commit is contained in:
parent
956e02404f
commit
da763e7700
30
.github/workflows/osx.yml
vendored
30
.github/workflows/osx.yml
vendored
@ -6,8 +6,8 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
qt5:
|
||||||
name: GPXSee
|
name: GPXSee Qt5 build
|
||||||
runs-on: macos-10.15
|
runs-on: macos-10.15
|
||||||
steps:
|
steps:
|
||||||
- name: Set environment variables
|
- name: Set environment variables
|
||||||
@ -27,5 +27,29 @@ jobs:
|
|||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: GPXSee.dmg
|
name: GPXSee-qt5.dmg
|
||||||
|
path: GPXSee.dmg
|
||||||
|
|
||||||
|
qt6:
|
||||||
|
name: GPXSee Qt6 build
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- name: Set environment variables
|
||||||
|
run: echo "PATH=/usr/local/opt/qt@6/bin:$PATH" >> $GITHUB_ENV
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Install dependencies
|
||||||
|
run: brew install qt6
|
||||||
|
- name: Create localization
|
||||||
|
run: lrelease gpxsee.pro
|
||||||
|
- name: Configure build
|
||||||
|
run: qmake gpxsee.pro
|
||||||
|
- name: Build project
|
||||||
|
run: make -j3
|
||||||
|
- name: Create DMG
|
||||||
|
run: macdeployqt GPXSee.app -dmg
|
||||||
|
- name: Upload artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: GPXSee-qt6.dmg
|
||||||
path: GPXSee.dmg
|
path: GPXSee.dmg
|
||||||
|
Loading…
Reference in New Issue
Block a user