-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (45 loc) · 1.19 KB
/
macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Compile on macOS
on:
push:
branches: [ main ]
paths-ignore:
- ".gitignore"
- "README.md"
# ignore CI for other platforms
- ".github/workflows/android.yml"
- ".github/workflows/ios.yml"
- ".github/workflows/linux.yml"
- ".github/workflows/sources.yml"
- ".github/workflows/windows.yml"
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
cache: 'true'
modules: 'qtlocation qtpositioning'
version: '6.8.1'
- name: Install Additional Software
run: |
brew install ninja
- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: linux
- name: Compile and Install
run: |
Qt6_DIR_BASE=$(dirname "$Qt6_DIR") ./buildscript-macos.sh
- name: Package
run: |
tar cvfz enrouteDependencies_macos.tar.gz Qt
- name: Upload to developerBuilds
run: |
gh release upload --clobber developerBuilds *.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}