mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
brew install
may fail, so try to use tool/travis_retry.sh
224877570 (step)
:3:1008
```
Error: No such file or directory @ dir_s_rmdir - /Users/runner/Library/Caches/Homebrew/downloads/ca756e367eb98d2b525e72b311633c27ffc74eca825a5392153b3488d1adb732--libssh2-1.9.0.mojave.bottle.tar.gz
```
This commit is contained in:
parent
68ffb679d4
commit
0785469a40
Notes:
git
2019-09-17 18:02:30 +09:00
1 changed files with 5 additions and 4 deletions
9
.github/workflows/macos.yml
vendored
9
.github/workflows/macos.yml
vendored
|
@ -18,10 +18,6 @@ jobs:
|
|||
run: |
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
|
||||
- name: Install libraries
|
||||
run: |
|
||||
brew update || { sleep 5 && brew update; } || { sleep 60 && brew update; }
|
||||
brew install gdbm gmp libffi openssl@1.1 zlib autoconf automake libtool readline
|
||||
# Not using official actions/checkout because it's unstable and sometimes doesn't work for a fork.
|
||||
- name: Checkout ruby/ruby
|
||||
run: git clone --depth=50 https://github.com/ruby/ruby . && git reset --hard "$GITHUB_SHA"
|
||||
|
@ -33,6 +29,11 @@ jobs:
|
|||
GITHUB_BRANCH: ${{ github.event.pull_request.head.ref }}
|
||||
GITHUB_REPO: ${{ github.event.pull_request.head.repo.full_name }}
|
||||
if: github.event_name == 'pull_request'
|
||||
- name: Install libraries
|
||||
run: |
|
||||
export WAITS='5 60'
|
||||
tool/travis_retry.sh brew update
|
||||
tool/travis_retry.sh brew install gdbm gmp libffi openssl@1.1 zlib autoconf automake libtool readline
|
||||
- name: Set ENV
|
||||
run: |
|
||||
echo '##[set-env name=JOBS]'-j$((1 + $(sysctl -n hw.activecpu)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue