Skip to content

Commit d4dd9c7

Browse files
committed
Update ubuntu runner to 22.04
1 parent 5459c3a commit d4dd9c7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
build:
2424
strategy:
2525
matrix:
26-
os: [windows-latest, ubuntu-20.04]
26+
os: [windows-latest, ubuntu-22.04]
2727
arch: [x64, x86]
2828
include:
2929
- os: windows-latest
@@ -32,10 +32,10 @@ jobs:
3232
- os: windows-latest
3333
arch: x86
3434
CMAKE_ARCH_FLAG: --preset=x86-windows
35-
- os: ubuntu-20.04
35+
- os: ubuntu-22.04
3636
arch: x64
3737
CMAKE_ARCH_FLAG: --preset=x64-linux
38-
- os: ubuntu-20.04
38+
- os: ubuntu-22.04
3939
arch: x86
4040
CMAKE_ARCH_FLAG: --preset=x86-linux
4141
- os: macos-13
@@ -54,7 +54,7 @@ jobs:
5454
- uses: lukka/run-vcpkg@v11
5555

5656
- name: Install dependencies Ubuntu x86
57-
if: ${{ matrix.os == 'ubuntu-20.04' && matrix.arch == 'x86' }}
57+
if: ${{ matrix.os == 'ubuntu-22.04' && matrix.arch == 'x86' }}
5858
run: |
5959
sudo apt update
6060
sudo apt install gcc-multilib g++-multilib
@@ -74,7 +74,7 @@ jobs:
7474
run: cmake --build build -j -t async_postgres --config ${{env.BUILD_TYPE}}
7575

7676
- name: Strip debug information from binaries and keep them outside (Ubuntu)
77-
if: ${{ matrix.os == 'ubuntu-20.04' }}
77+
if: ${{ matrix.os == 'ubuntu-22.04' }}
7878
run: |
7979
find *.dll -exec objcopy --only-keep-debug {} {}.pdb \;
8080
find *.dll -exec objcopy --strip-debug {} \;

0 commit comments

Comments
 (0)