matrixion/.cirrus.yml

27 lines
1.2 KiB
YAML
Raw Permalink Normal View History

task:
macos_instance:
2023-05-09 01:10:37 +03:00
image: ghcr.io/cirruslabs/macos-ventura-xcode:14.3
name: Build - macOS Apple Silicon
environment:
GITLAB_TRIGGER_TOKEN: ENCRYPTED[!5fb4bbdecbde3b2c766ac7383dca573cd5ec8b815c5ac9bede0cadfe9ad70ecd3e64b1728f7840da087099f3fc1fd4f7!]
homebrew_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
aqt_script:
2023-07-18 01:52:09 +03:00
- pip3 install aqtinstall
- mkdir $HOME/Qt
2023-11-11 00:36:12 +03:00
- aqt install-qt --outputdir $HOME/qt mac desktop 6 clang_64 -m qtlocation qtimageformats qtmultimedia qtpositioning qtshadertools
build_script:
2023-11-06 22:49:54 +03:00
- export QTPATH=($HOME/qt/6.*/macos/bin)
- export PATH="$QTPATH:${PATH}"
- ./.ci/macos/build.sh
zip_script:
2023-06-19 04:12:50 +03:00
- ditto -c -k --sequesterRsrc --keepParent nheko.app nheko.zip
gitlab_script:
2023-02-20 07:05:41 +03:00
- >
[ "${CIRRUS_BRANCH}" == "master" ] && curl -X POST --fail -F token="${GITLAB_TRIGGER_TOKEN}" -F ref="${CIRRUS_BRANCH}" -F "variables[TRIGGER_BUILD_ID]=${CIRRUS_BUILD_ID}" -F "variables[TRIGGERED_BY]=cirrus" "https://nheko.im/api/v4/projects/2/trigger/pipeline" || true
binaries_artifacts:
2023-06-19 04:12:50 +03:00
path: nheko.zip