-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Satochip
committed
Jun 30, 2022
1 parent
61ee860
commit 827305f
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
common: &COMMON_TEMPLATE | ||
timeout_in: 120m | ||
clone_script: | | ||
if [ -z "$CIRRUS_PR" ]; then | ||
git clone --recursive --branch=$CIRRUS_BRANCH https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR | ||
git reset --hard $CIRRUS_CHANGE_IN_REPO | ||
else | ||
git clone --recursive https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR | ||
git fetch origin pull/$CIRRUS_PR/head:pull/$CIRRUS_PR | ||
git reset --hard $CIRRUS_CHANGE_IN_REPO | ||
fi | ||
env: | ||
GIT_REPO: $CIRRUS_WORKING_DIR | ||
|
||
task: | ||
name: "Build MacOS DMG" | ||
<< : *COMMON_TEMPLATE | ||
macos_instance: | ||
image: catalina-base | ||
brew_script: | ||
- brew update | ||
- brew install coreutils gettext pyenv | ||
test_script: | ||
- cd contrib/osx && ./make_osx | ||
binaries_artifacts: | ||
path: "dist/*.dmg" | ||
trigger_type: manual |