Skip to content

Commit b606810

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

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/binary-gems.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
uses: ruby/setup-ruby-pkgs@v1
108108
with:
109109
ruby-version: ${{ matrix.ruby }}
110-
apt-get: "postgresql" # Ubuntu
110+
apt-get: "postgresql '^postgresql-server-dev-[0-9]+$'" # Ubuntu
111111
brew: "postgresql" # macOS
112112
mingw: "postgresql" # Windows mingw / mswin /ucrt
113113

.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)