File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 : |
Original file line number Diff line number Diff 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 : |
You can’t perform that action at this time.
0 commit comments