Do not bundle the unused SQL plugins (ODBC, PostgreSQL)
[GPXSee.git] / .github / workflows / osx.yml
blob001947ced3c81e20d2385ea8f99356439acccc80
1 name: OS X
3 on:
4   push:
5     branches:
6       - master
8 jobs:
9   qt5:
10     name: GPXSee Qt5 build
11     runs-on: macos-latest
12     steps:
13       - name: Checkout
14         uses: actions/checkout@v3
15       - name: Install Qt
16         uses: jurplel/install-qt-action@v3
17         with:
18           version: '5.15.2'
19       - name: Create localization
20         run: lrelease gpxsee.pro
21       - name: Configure build
22         run: qmake gpxsee.pro
23       - name: Build project
24         run: make -j3
25       - name: Create DMG
26         run: macdeployqt GPXSee.app -dmg -appstore-compliant
27       - name: Upload artifacts
28         uses: actions/upload-artifact@v3
29         with:
30           name: GPXSee-qt5.dmg
31           path: GPXSee.dmg
33   qt6:
34     name: GPXSee Qt6 build
35     runs-on: macos-latest
36     steps:
37       - name: Checkout
38         uses: actions/checkout@v3
39       - name: Install Qt
40         uses: jurplel/install-qt-action@v3
41         with:
42           version: '6.4.3'
43           modules: qtpositioning qt5compat qtserialport
44       - name: Create localization
45         run: lrelease gpxsee.pro
46       - name: Configure build
47         run: qmake gpxsee.pro
48       - name: Build project
49         run: make -j3
50       - name: Create DMG
51         run: macdeployqt GPXSee.app -dmg -appstore-compliant
52       - name: Upload artifacts
53         uses: actions/upload-artifact@v3
54         with:
55           name: GPXSee-qt6.dmg
56           path: GPXSee.dmg