1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-23 23:24:24 +02:00
Files
GPXSee/.github/workflows/osx.yml

41 lines
1.1 KiB
YAML

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.9.1'
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: Download QtPBFImagePlugin
uses: actions/download-artifact@v4
with:
artifact-ids: 3311872364
github-token: ${{ secrets.GPXsee }}
repository: tumic0/QtPBFImagePlugin
path: GPXSee.app/Contents/Plugins/imageformats
run-id: 15603784426
- 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