mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 03:58:49 +03:00
Attempt to make cirrus work on github and only sign on master
This commit is contained in:
parent
2a380eeae6
commit
97fef15e9d
1 changed files with 25 additions and 17 deletions
14
.cirrus.yml
14
.cirrus.yml
|
@ -2,16 +2,24 @@ task:
|
||||||
macos_instance:
|
macos_instance:
|
||||||
image: ghcr.io/cirruslabs/macos-monterey-xcode:13
|
image: ghcr.io/cirruslabs/macos-monterey-xcode:13
|
||||||
name: Build - macOS Apple Silicon
|
name: Build - macOS Apple Silicon
|
||||||
only_if: $CIRRUS_REPO_OWNER == 'Nheko-Reborn'
|
|
||||||
environment:
|
environment:
|
||||||
GITLAB_TRIGGER_TOKEN: ENCRYPTED[!5fb4bbdecbde3b2c766ac7383dca573cd5ec8b815c5ac9bede0cadfe9ad70ecd3e64b1728f7840da087099f3fc1fd4f7!]
|
GITLAB_TRIGGER_TOKEN: ENCRYPTED[!5fb4bbdecbde3b2c766ac7383dca573cd5ec8b815c5ac9bede0cadfe9ad70ecd3e64b1728f7840da087099f3fc1fd4f7!]
|
||||||
homebrew_script:
|
matrix:
|
||||||
- brew bundle --file .ci/macos/Brewfile
|
- name: Homebrew
|
||||||
|
homebrew_Script: brew bundle --file .ci/macos/Brewfile
|
||||||
|
- name: Build
|
||||||
build_script:
|
build_script:
|
||||||
- export PATH="$(brew --prefix qt5)/bin/:${PATH}"
|
- export PATH="$(brew --prefix qt5)/bin/:${PATH}"
|
||||||
- ./.ci/macos/build.sh
|
- ./.ci/macos/build.sh
|
||||||
|
- name: Zip
|
||||||
|
depends_on:
|
||||||
|
- Build
|
||||||
zip_script:
|
zip_script:
|
||||||
- ditto -c -k --sequesterRsrc --keepParent build/nheko.app build/nheko.zip
|
- ditto -c -k --sequesterRsrc --keepParent build/nheko.app build/nheko.zip
|
||||||
|
- name: Gitlab
|
||||||
|
only_if: $CIRRUS_BRANCH == 'master'
|
||||||
|
depends_on:
|
||||||
|
- Zip
|
||||||
gitlab_script:
|
gitlab_script:
|
||||||
- curl -X POST
|
- curl -X POST
|
||||||
--fail
|
--fail
|
||||||
|
|
Loading…
Reference in a new issue