Add apple silicon runner config to gitlab-ci

gitlab_as_runner
Joseph Donofry 9 months ago
parent e7c6701c5f
commit 31663dbb12
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 2
      .cirrus.yml
  2. 17
      .gitlab-ci.yml

@ -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}"

@ -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]

Loading…
Cancel
Save