Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix openssl issues on MacOSX on CI #6580

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/ci_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
# EARLIEST is the minimum postgres version required when building from source
# LATEST is the maximum postgres version that is supported
# ABI_MIN is the minimum postgres version required when the extension was build against LATEST
#
# TODO: Enable tests uploading in linux-build-and-test.yaml for macos once we
# move to a new minor version below

PG13_EARLIEST = "13.2"
PG13_LATEST = "13.13"
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/linux-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,6 @@ jobs:
if: runner.os == 'macOS'
run: |
brew install gawk

# Force use of OpenSSL 3.1.4, since OpenSSL 3.2.0 crashes with recent
# PostgreSQL versions on OS X (see https://github.com/Homebrew/homebrew-core/issues/155651)
brew install --overwrite python@3.12
brew unlink openssl@3
jnidzwetzki marked this conversation as resolved.
Show resolved Hide resolved
curl -L https://raw.githubusercontent.com/Homebrew/homebrew-core/e68186ba5a05a6ea9a30d6c7744de9a46bd3aadd/Formula/o/openssl@3.rb > openssl@3.rb
brew install openssl@3.rb

# Install perl modules after last Homebew call, since Homebrew can change the perl version
sudo perl -MCPAN -e "CPAN::Shell->notest('install', 'IPC::Run')"
sudo perl -MCPAN -e "CPAN::Shell->notest('install', 'Test::Most')"
Expand Down Expand Up @@ -281,8 +273,9 @@ jobs:

- name: Upload test results to the database
# Don't upload the results of the flaky check, because the db schema only
# supports running one test once per job.
if: always() && (! contains(matrix.name, 'Flaky'))
# supports running one test once per job. Also disable uploading of the
fabriziomello marked this conversation as resolved.
Show resolved Hide resolved
# tests on macOS till the next MINOR release of PG
if: always() && (! contains(matrix.name, 'Flaky')) && (! runner.os == 'macOS')
env:
# GitHub Actions allow you neither to use the env context for the job name,
# nor to access the job name from the step context, so we have to
Expand Down