Skip to content

Commit e2c485e

Browse files
committed
Drop support for macos-12 after receiving back this message from Homebrew: Warning: You are using macOS 12. We (and Apple) do not provide support for this old version. It is expected behaviour that some formulae will fail to build in this old version.
1 parent 7e6178a commit e2c485e

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

Diff for: .github/workflows/tests.yml

+1-27
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
test-bot:
99
strategy:
1010
matrix:
11-
os: [ubuntu-20.04, ubuntu-22.04, macos-12, macos-13, macos-latest]
11+
os: [ubuntu-20.04, ubuntu-22.04, macos-13, macos-latest]
1212
runs-on: ${{ matrix.os }}
1313
env:
1414
HOMEBREW_NO_INSTALL_FROM_API: 1
@@ -29,19 +29,6 @@ jobs:
2929
if: steps.cache.outputs.cache-hit != 'true'
3030
run: brew install-bundler-gems
3131

32-
# New step: Collect extra debug information for macOS-12
33-
- name: Brew info on openssl@3 and zlib (macos-12)
34-
if: matrix.os == 'macos-12'
35-
run: |
36-
brew info openssl@3
37-
brew info zlib
38-
39-
- name: Collect diagnostics for macOS-12
40-
if: matrix.os == 'macos-12'
41-
run: |
42-
brew config
43-
brew doctor
44-
4532
- run: brew test-bot --only-cleanup-before
4633

4734
- run: brew test-bot --only-setup
@@ -51,19 +38,6 @@ jobs:
5138
- run: brew test-bot --only-formulae
5239
if: github.event_name == 'pull_request'
5340

54-
# New Step: Run `brew bottle` and commit formula updates
55-
- name: Build bottles and update formula
56-
if: matrix.os == 'macos-12'
57-
run: |
58-
brew bottle coverallsapp/coveralls/coveralls
59-
brew bottle --merge --write ./coveralls--0.6.15.*.bottle.json
60-
git config --global user.name "GitHub Actions"
61-
git config --global user.email "[email protected]"
62-
git add Formula/coveralls.rb
63-
git commit -m "Update formula with new bottle hashes for ${{ matrix.os }}"
64-
env:
65-
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66-
6741
- name: Upload bottles as artifact
6842
if: always() && github.event_name == 'pull_request'
6943
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)