Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfmpe committed Jan 14, 2025
1 parent 32f0147 commit 7ff3a1a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ 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: |
Expand All @@ -42,4 +42,4 @@ jobs:
echo "$(brew --prefix)/bin" >> $GITHUB_PATH
if: matrix.os == 'macos-latest'
- name: build all
run: cabal build all
run: cabal build all --constraint='postgresql-libpq +use-pkg-config' # https://github.com/NixOS/nixpkgs/pull/373322

0 comments on commit 7ff3a1a

Please sign in to comment.