Skip to content

Commit

Permalink
Fix ubuntu CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfmpe committed Jan 15, 2025
1 parent 32f0147 commit c0545d2
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
ghc: ['8.6.5', '8.8.4', '8.10.7', '9.0.2', '9.8.2']
os: ['ubuntu-latest', 'macos-latest']
os: ['ubuntu-latest'] # Disabled macos until https://github.com/haskellari/postgresql-libpq/issues/71 is figured out
name: Haskell GHC ${{ matrix.ghc }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -28,18 +28,12 @@ jobs:
- name: install postgres (linux)
run: |
sudo apt-get update
sudo apt-get install postgresql-14
export PATH=$PATH:/usr/lib/postgresql/14/bin
which pg_ctl
echo "/usr/lib/postgresql/14/bin" >> $GITHUB_PATH
sudo apt-get install postgresql-16
if: matrix.os == 'ubuntu-latest'
- name: install postgres (macos)
run: |
brew update
brew install postgresql@14
export PATH=$PATH:`brew --prefix`/bin
which pg_ctl
echo "$(brew --prefix)/bin" >> $GITHUB_PATH
if: matrix.os == 'macos-latest'
- name: build all
run: cabal build all

0 comments on commit c0545d2

Please sign in to comment.