forked from timescale/timescaledb
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch changes the OpenSSL version for the OS X builds to 3.1.4 since recent PostgreSQL versions contain a bug in the SSL handling and crash on OS X when OpenSSL 3.2.0 is used. See: Homebrew/homebrew-core#155651
- Loading branch information
1 parent
2a808ca
commit c8187e1
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,6 +73,12 @@ jobs: | |
sudo perl -MCPAN -e "CPAN::Shell->notest('install', 'IPC::Run')" | ||
sudo perl -MCPAN -e "CPAN::Shell->notest('install', 'Test::Most')" | ||
# 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 unlink openssl@3 | ||
curl -L https://raw.githubusercontent.com/Homebrew/homebrew-core/e68186ba5a05a6ea9a30d6c7744de9a46bd3aadd/Formula/o/[email protected] > [email protected] | ||
brew install [email protected] | ||
- name: Checkout TimescaleDB | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -125,6 +131,7 @@ jobs: | |
run: | | ||
make -C ~/$PG_SRC_DIR install | ||
make -C ~/$PG_SRC_DIR/contrib/postgres_fdw install | ||
echo "$HOME/$PG_INSTALL_DIR/bin" >> "${GITHUB_PATH}" | ||
- name: Upload config.log | ||
if: always() && steps.cache-postgresql.outputs.cache-hit != 'true' | ||
|
@@ -160,7 +167,7 @@ jobs: | |
set -o pipefail | ||
make -k -C build installcheck IGNORES="${{ join(matrix.ignored_tests, ' ') }}" \ | ||
SKIPS="${{ join(matrix.skipped_tests, ' ') }}" ${{ matrix.installcheck_args }} \ | ||
PSQL="${HOME}/${PG_INSTALL_DIR}/bin/psql" | tee installcheck.log | ||
| tee installcheck.log | ||
- name: pginstallcheck | ||
if: matrix.pginstallcheck | ||
|
@@ -282,10 +289,4 @@ jobs: | |
GITHUB_PR_NUMBER=0 | ||
fi | ||
export GITHUB_PR_NUMBER | ||
if [[ "${{ runner.os }}" == "macOS" ]] ; | ||
then | ||
# Add libpq to PATH so psql can be used for uploading | ||
# test results | ||
export PATH="/usr/local/opt/libpq/bin:$PATH" | ||
fi | ||
scripts/upload_ci_stats.sh |