Add apple silicon runner config to gitlab-ci

This commit is contained in:
Joseph Donofry 2024-02-17 14:47:30 -05:00
parent e7c6701c5f
commit 31663dbb12
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB
2 changed files with 18 additions and 1 deletions

View file

@ -12,7 +12,7 @@ task:
aqt_script: aqt_script:
- pip3 install aqtinstall - pip3 install aqtinstall
- mkdir $HOME/Qt - mkdir $HOME/Qt
- aqt install-qt --outputdir $HOME/qt mac desktop 6 clang_64 -m qtlocation qtimageformats qtmultimedia qtpositioning qtshadertools - aqt install-qt --outputdir $HOME/qt mac desktop 6.6 clang_64 -m qtlocation qtimageformats qtmultimedia qtpositioning qtshadertools
build_script: build_script:
- export QTPATH=($HOME/qt/6.*/macos/bin) - export QTPATH=($HOME/qt/6.*/macos/bin)
- export PATH="$QTPATH:${PATH}" - export PATH="$QTPATH:${PATH}"

View file

@ -259,6 +259,23 @@ build-macos:
- .hunter/ - .hunter/
- "${CCACHE_DIR}" - "${CCACHE_DIR}"
build-macos-as:
extends: build-macos
image: ghcr.io/cirruslabs/macos-ventura-xcode:14.3
tags: [macos-tart]
before_script:
# The following update-reset is a workaround for this issue: https://github.com/Homebrew/homebrew-bundle/issues/1179
- brew update-reset
- unset HOMEBREW_NO_AUTO_UPDATE
- brew bundle --file .ci/macos/Brewfile
- pip3 install aqtinstall
- mkdir $HOME/Qt
- aqt install-qt --outputdir $HOME/qt mac desktop 6.6 clang_64 -m qtlocation qtimageformats qtmultimedia qtpositioning qtshadertools
script:
- export QTPATH=($HOME/qt/6.*/macos/bin)
- export PATH="$QTPATH:${PATH}"
- ./.ci/macos/build.sh
codesign-macos: codesign-macos:
stage: sign stage: sign
tags: [macos] tags: [macos]