Skip to content

Commit 89fb316

Browse files
committed
WIP: Attempt to fix CI
1 parent 241d020 commit 89fb316

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/binary-gems.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ jobs:
111111
brew: "postgresql" # macOS
112112
mingw: "postgresql" # Windows mingw / mswin /ucrt
113113

114+
- name: Install postgresql server headers Ubuntu
115+
if: startsWith(matrix.os, 'ubuntu-')
116+
run: |
117+
sudo apt-get -y --allow-downgrades install '^postgresql-server-dev-[0-9]+$' libkrb5-dev
118+
114119
- name: Set up 32 bit x86 Ruby
115120
if: matrix.platform == 'x86-mingw32'
116121
run: |

.github/workflows/source-gem.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,14 @@ jobs:
127127
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main $PGVER" | sudo tee -a /etc/apt/sources.list.d/pgdg.list
128128
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
129129
sudo apt-get -y update
130-
sudo apt-get -y --allow-downgrades install postgresql-$PGVER libpq5=$PGVER* libpq-dev=$PGVER*
130+
sudo apt-get -y --allow-downgrades install postgresql-$PGVER libpq5=$PGVER* libpq-dev=$PGVER* postgresql-server-dev-$PGVER libkrb5-dev
131131
echo /usr/lib/postgresql/$PGVER/bin >> $GITHUB_PATH
132132
133+
- name: Download OAuth support Ubuntu
134+
if: matrix.os == 'ubuntu' && matrix.PGVER >= 18
135+
run: |
136+
sudo apt-get -y --allow-downgrades install libpq-oauth=$PGVER*
137+
133138
- name: Download PostgreSQL Macos
134139
if: matrix.os == 'macos'
135140
run: |

0 commit comments

Comments
 (0)