1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00
GPXSee/.github/workflows/osx.yml

33 lines
794 B
YAML
Raw Normal View History

2021-10-27 15:42:35 +02:00
name: OS X
on:
push:
branches:
- master
jobs:
2024-11-18 18:22:02 +01:00
build:
name: GPXSee
2022-02-03 23:06:29 +01:00
runs-on: macos-latest
steps:
- name: Checkout
2024-02-03 18:32:53 +01:00
uses: actions/checkout@v4
- name: Install Qt
2024-10-02 08:04:42 +02:00
uses: jurplel/install-qt-action@v4
with:
2024-11-18 18:22:02 +01:00
version: '6.8.0'
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
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
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:
path: GPXSee.dmg
2024-11-18 22:27:26 +01:00
name: GPXSee.dmg