Skip to content

Commit

Permalink
oss: increase HOMEBREW_FAIL_LOG_LINES for macOS
Browse files Browse the repository at this point in the history
Summary: have more context about the error for debugging

Reviewed By: quark-zju, sggutier

Differential Revision: D51282332

fbshipit-source-id: 7d6666ff16b3181f5a9c70303eca1fc6f6ddb631
  • Loading branch information
zzl0 authored and facebook-github-bot committed Nov 13, 2023
1 parent ea9c9af commit 3143b7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 27,7 @@ jobs:
-o $(brew --repository)/Library/Taps/homebrew/homebrew-core/Formula/s/sapling.rb'
- name: Install and build Sapling bottle
run: HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-bottle sapling
run: HOMEBREW_NO_INSTALL_FROM_API=1 HOMEBREW_FAIL_LOG_LINES=100 brew install --build-bottle sapling
- name: Create Sapling bottle
run: HOMEBREW_NO_INSTALL_FROM_API=1 brew bottle sapling
- name: Rename bottle to some platform specific name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 27,7 @@ jobs:
-o $(brew --repository)/Library/Taps/homebrew/homebrew-core/Formula/s/sapling.rb'
- name: Install and build Sapling bottle
run: HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-bottle sapling
run: HOMEBREW_NO_INSTALL_FROM_API=1 HOMEBREW_FAIL_LOG_LINES=100 brew install --build-bottle sapling
- name: Create Sapling bottle
run: HOMEBREW_NO_INSTALL_FROM_API=1 brew bottle sapling
- name: Rename bottle to some platform specific name
Expand Down
2 changes: 1 addition & 1 deletion ci/gen_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 384,7 @@ def gen_homebrew_macos_release(self, arch, target, runson, mac_release) -> str:
},
{
"name": "Install and build Sapling bottle",
"run": "HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-bottle sapling",
"run": "HOMEBREW_NO_INSTALL_FROM_API=1 HOMEBREW_FAIL_LOG_LINES=100 brew install --build-bottle sapling",
},
{
"name": "Create Sapling bottle",
Expand Down

0 comments on commit 3143b7c

Please sign in to comment.