Bunkers #914
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OS X | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: GPXSee | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: '6.8.0' | |
modules: qtpositioning qtserialport qtimageformats | |
- name: Create localization | |
run: lrelease gpxsee.pro | |
- name: Configure build | |
run: qmake gpxsee.pro QMAKE_APPLE_DEVICE_ARCHS="x86_64h arm64" | |
- name: Build project | |
run: make -j3 | |
- name: Create DMG | |
run: macdeployqt GPXSee.app -dmg -appstore-compliant | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
path: GPXSee.dmg | |
name: GPXSee.dmg |