Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfmpe committed Jan 15, 2025
1 parent 32f0147 commit b77e8c3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,18 @@ jobs:
- name: install postgres (linux)
run: |
sudo apt-get update
sudo apt-get install postgresql-14
export PATH=$PATH:/usr/lib/postgresql/14/bin
sudo apt-get install postgresql-16
export PATH=$PATH:/usr/lib/postgresql/16/bin
which pg_ctl
echo "/usr/lib/postgresql/14/bin" >> $GITHUB_PATH
echo "/usr/lib/postgresql/16/bin" >> $GITHUB_PATH
if: matrix.os == 'ubuntu-latest'
- name: install postgres (macos)
run: |
brew update
brew install postgresql@14
brew install libpq postgresql@14
export PATH=$PATH:`brew --prefix`/bin
export LDFLAGS="-L/opt/homebrew/opt/postgresql@14/lib"
export CPPFLAGS="-I/opt/homebrew/opt/postgresql@14/include"
which pg_ctl
echo "$(brew --prefix)/bin" >> $GITHUB_PATH
if: matrix.os == 'macos-latest'
Expand Down

0 comments on commit b77e8c3

Please sign in to comment.