Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

ci: fix CircleCI carthage timeout #260

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
defaults: &defaults
macos:
xcode: "11.7.0"
shell: /bin/bash --login -eo pipefail
defaults:
&defaults
macos:
xcode: "11.7.0"
shell: /bin/bash --login -eo pipefail
aliases:
- &cache-pull
keys:
Expand All @@ -12,12 +13,11 @@ aliases:
key: gem-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
- &prepare
|
git submodule update --init --recursive
sudo gem install bundler
bundle config set path 'vendor/bundle'
bundle install
- &prepare |
git submodule update --init --recursive
sudo gem install bundler
bundle config set path 'vendor/bundle'
bundle install
- &filter-only-main
branches:
only:
Expand All @@ -32,7 +32,9 @@ jobs:
- restore_cache: *cache-pull
- run: *prepare
- save_cache: *cache-push
- run: carthage build --no-skip-current --platform macos,ios,tvos,watchos
- run:
command: carthage build --no-skip-current --platform macos,ios,tvos,watchos
no_output_timeout: 60m

workflows:
version: 2
Expand Down