Skip to content

Commit 2fa800d

Browse files
committed
CI: use Ubuntu 22.04
The CI workflows were running jobs using Ubuntu 20.04. The mentioned version has been unsupported since 2025-04-15. Therefore, the workflow files are adjusted to use Ubuntu 22.04. Moreover, Swift SDK's version is raised from 5.4.3 to 5.9.2, because the older version is not available for Ubuntu 22.04. Signed-off-by: Patryk Wrobel <183546751+pwrobeldev@users.noreply.github.com>
1 parent ae45726 commit 2fa800d

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/functional-tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
jobs:
2020
cpp:
2121
name: C++
22-
runs-on: ubuntu-20.04
22+
runs-on: ubuntu-22.04
2323

2424
steps:
2525
- uses: actions/checkout@v2
@@ -56,7 +56,7 @@ jobs:
5656

5757
android:
5858
name: Android
59-
runs-on: ubuntu-20.04
59+
runs-on: ubuntu-22.04
6060

6161
steps:
6262
- uses: actions/checkout@v2
@@ -118,7 +118,7 @@ jobs:
118118

119119
android-kotlin:
120120
name: Android-Kotlin
121-
runs-on: ubuntu-20.04
121+
runs-on: ubuntu-22.04
122122

123123
steps:
124124
- uses: actions/checkout@v2
@@ -173,7 +173,7 @@ jobs:
173173

174174
swift:
175175
name: Swift on Linux
176-
runs-on: ubuntu-20.04
176+
runs-on: ubuntu-22.04
177177

178178
steps:
179179
- uses: actions/checkout@v2
@@ -210,9 +210,9 @@ jobs:
210210
run: sudo apt install -y libcurl4
211211
- name: Install Swift SDK
212212
run: |
213-
SWIFT_BRANCH=swift-5.4.3-release
214-
SWIFT_VERSION=swift-5.4.3-RELEASE
215-
SWIFT_PLATFORM=ubuntu20.04
213+
SWIFT_BRANCH=swift-5.9.2-release
214+
SWIFT_VERSION=swift-5.9.2-RELEASE
215+
SWIFT_PLATFORM=ubuntu22.04
216216
SWIFT_ARCHIVE_NAME=${SWIFT_VERSION}-${SWIFT_PLATFORM}.tar.gz
217217
if [ ! -d "${HOME}/swift-sdk" ]; then
218218
mkdir ~/swift-sdk
@@ -284,7 +284,7 @@ jobs:
284284
285285
dart:
286286
name: Dart
287-
runs-on: ubuntu-20.04
287+
runs-on: ubuntu-22.04
288288

289289
steps:
290290
- uses: actions/checkout@v2
@@ -323,7 +323,7 @@ jobs:
323323
324324
dart-asan:
325325
name: Dart with AddressSanitizer
326-
runs-on: ubuntu-20.04
326+
runs-on: ubuntu-22.04
327327

328328
steps:
329329
- uses: actions/checkout@v2
@@ -387,7 +387,7 @@ jobs:
387387
388388
cmake-tests:
389389
name: CMake toolchain tests
390-
runs-on: ubuntu-20.04
390+
runs-on: ubuntu-22.04
391391

392392
steps:
393393
- uses: actions/checkout@v2

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
jobs:
2020
build:
2121
name: Create release
22-
runs-on: ubuntu-20.04
22+
runs-on: ubuntu-22.04
2323

2424
steps:
2525
- uses: actions/checkout@v2

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push, pull_request]
55
jobs:
66
build:
77
name: Build and unit tests
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99

1010
steps:
1111
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)