Merge branch 'main' of github.com:Akaflieg-Freiburg/enrouteDependencies #15
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 ] | |
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.*.*' | |
- 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 }} |