Update Qt version #25
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: 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 }} |