mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-15 10:11:29 +08:00
Fix perl modules installation on OS X
Homebrew can change the installed Perl version. Therefore, the installation of custom modules should be done after the last Homebrew call.
This commit is contained in:
parent
28a1ebe2c8
commit
75caf5df70
6
.github/workflows/linux-build-and-test.yaml
vendored
6
.github/workflows/linux-build-and-test.yaml
vendored
@ -70,8 +70,6 @@ jobs:
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
brew install gawk
|
||||
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)
|
||||
@ -79,6 +77,10 @@ jobs:
|
||||
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')"
|
||||
|
||||
- name: Setup macOS coredump directory
|
||||
if: runner.os == 'macOS'
|
||||
run: sudo chmod 777 /cores
|
||||
|
Loading…
x
Reference in New Issue
Block a user