Skip to content

Commit 9b2f36a

Browse files
authored
Update ci.yml to use Ubuntu 22.04 (#62)
1 parent 642874a commit 9b2f36a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
include:
20-
- os: ubuntu-20.04
20+
- os: ubuntu-22.04
2121
make: test-debug
22-
info: g++-9 + test-debug
22+
info: g++-11 + test-debug
2323

24-
- os: ubuntu-20.04
24+
- os: ubuntu-22.04
2525
make: test-release
26-
info: g++-9 + test-release
26+
info: g++-11 + test-release
2727

2828
name: '${{matrix.os}}: ${{matrix.info}}'
2929
runs-on: ${{matrix.os}}
@@ -49,6 +49,11 @@ jobs:
4949
sudo apt install --allow-downgrades -y postgresql $(cat third_party/userver/scripts/docs/en/deps/${{matrix.os}}.md | tr '\n' ' ')
5050
python3 -m pip install -r requirements.txt
5151
52+
- name: Reinstall postgres 14
53+
run: |
54+
sudo apt purge libpq5 libpq-dev postgresql-*
55+
sudo apt install -y postgresql-14 postgresql-client-14 postgresql-server-dev-14
56+
5257
- name: Setup ccache
5358
run: |
5459
ccache -M 2.0GB

0 commit comments

Comments
 (0)