Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #48

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 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 @@ -18,7 +18,7 @@ jobs:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- name: Cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cabal/packages
Expand All @@ -28,18 +28,13 @@ 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
echo "/usr/lib/postgresql/16/bin" >> $GITHUB_PATH
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
Loading