2021-10-27 15:42:35 +02:00
|
|
|
name: OS X
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
2022-02-03 23:06:29 +01:00
|
|
|
qt5:
|
|
|
|
name: GPXSee Qt5 build
|
2024-04-25 12:06:10 +02:00
|
|
|
runs-on: macos-12
|
2021-10-27 15:42:35 +02:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-02-03 18:32:53 +01:00
|
|
|
uses: actions/checkout@v4
|
2023-04-02 15:02:55 +02:00
|
|
|
- name: Install Qt
|
|
|
|
uses: jurplel/install-qt-action@v3
|
|
|
|
with:
|
2023-04-02 15:11:37 +02:00
|
|
|
version: '5.15.2'
|
2021-10-27 15:46:02 +02:00
|
|
|
- name: Create localization
|
2021-10-27 15:42:35 +02:00
|
|
|
run: lrelease gpxsee.pro
|
2021-10-27 15:46:02 +02:00
|
|
|
- name: Configure build
|
2021-10-27 15:42:35 +02:00
|
|
|
run: qmake gpxsee.pro
|
|
|
|
- name: Build project
|
|
|
|
run: make -j3
|
2021-10-31 08:54:33 +01:00
|
|
|
- name: Create DMG
|
2023-04-02 21:24:52 +02:00
|
|
|
run: macdeployqt GPXSee.app -dmg -appstore-compliant
|
2021-10-31 08:54:33 +01:00
|
|
|
- name: Upload artifacts
|
2024-02-03 18:32:53 +01:00
|
|
|
uses: actions/upload-artifact@v4
|
2021-10-31 08:54:33 +01:00
|
|
|
with:
|
2022-02-03 23:06:29 +01:00
|
|
|
name: GPXSee-qt5.dmg
|
|
|
|
path: GPXSee.dmg
|
|
|
|
|
|
|
|
qt6:
|
|
|
|
name: GPXSee Qt6 build
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-02-03 18:32:53 +01:00
|
|
|
uses: actions/checkout@v4
|
2023-04-02 15:02:55 +02:00
|
|
|
- name: Install Qt
|
|
|
|
uses: jurplel/install-qt-action@v3
|
|
|
|
with:
|
2024-09-24 08:16:22 +02:00
|
|
|
version: '6.7.2'
|
2024-02-09 01:24:27 +01:00
|
|
|
modules: qtpositioning qtserialport qtimageformats
|
2022-02-03 23:06:29 +01:00
|
|
|
- name: Create localization
|
|
|
|
run: lrelease gpxsee.pro
|
|
|
|
- name: Configure build
|
2023-07-06 10:56:56 +02:00
|
|
|
run: qmake gpxsee.pro QMAKE_APPLE_DEVICE_ARCHS="x86_64h arm64"
|
2022-02-03 23:06:29 +01:00
|
|
|
- name: Build project
|
|
|
|
run: make -j3
|
|
|
|
- name: Create DMG
|
2023-04-02 21:24:52 +02:00
|
|
|
run: macdeployqt GPXSee.app -dmg -appstore-compliant
|
2022-02-03 23:06:29 +01:00
|
|
|
- name: Upload artifacts
|
2024-02-03 18:32:53 +01:00
|
|
|
uses: actions/upload-artifact@v4
|
2022-02-03 23:06:29 +01:00
|
|
|
with:
|
|
|
|
name: GPXSee-qt6.dmg
|
2021-10-31 09:06:34 +01:00
|
|
|
path: GPXSee.dmg
|