From da763e7700c5404f5b2032a5f97fe3dd3d38e148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 3 Feb 2022 23:06:29 +0100 Subject: [PATCH] Added Mac Qt6 build --- .github/workflows/osx.yml | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 4980b10d..d3ea54c1 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -6,8 +6,8 @@ on: - master jobs: - build: - name: GPXSee + qt5: + name: GPXSee Qt5 build runs-on: macos-10.15 steps: - name: Set environment variables @@ -27,5 +27,29 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v2 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