mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Add apple silicon runner config to gitlab-ci
This commit is contained in:
parent
e7c6701c5f
commit
31663dbb12
2 changed files with 18 additions and 1 deletions
|
@ -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…
Reference in a new issue