gcc #2997
Workflow file for this run
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
name: brew test-bot | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test-bot: | |
strategy: | |
matrix: | |
os: [macos-13] | |
timeout-minutes: 720 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Set up Homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Cache Homebrew Bundler RubyGems | |
id: cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.set-up-homebrew.outputs.gems-path }} | |
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} | |
restore-keys: ${{ runner.os }}-rubygems- | |
- name: Install Homebrew Bundler RubyGems | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: brew install-bundler-gems | |
- run: brew test-bot --only-cleanup-before | |
- run: brew test-bot --only-setup | |
continue-on-error: true | |
- run: brew test-bot --only-tap-syntax | |
- name: Use my fork Homebrew | |
run: | | |
pushd $(brew --repo) | |
git config pull.rebase true | |
git remote add me https://github.com/paperchalice/brew.git | |
git fetch me | |
git checkout main | |
git branch --set-upstream-to=me/main main | |
git pull | |
git rebase master | |
popd | |
- name: mark qt keg only | |
if: contains(github.event.pull_request.labels.*.name, 'webengine') | |
run: | | |
pushd $(brew --repo)/Library/Taps/homebrew/homebrew-core | |
sed -i '' 's/uses_from_macos "zlib"/keg_only "foo"/g' Formula/qt.rb | |
popd | |
- run: brew test-bot --only-formulae --skip-dependents | |
if: github.event_name == 'pull_request' | |
env: | |
HOMEBREW_TEMP: "/Users/runner/work/homebrew-private/build_farm" | |
- name: Upload bottles as artifact | |
if: always() && github.event_name == 'pull_request' | |
uses: actions/upload-artifact@main | |
with: | |
name: bottles | |
path: '*.bottle.*' |