Skip to content

Commit 784b55d

Browse files
committed
Remove Amazon Linux 2 from CI
Amazon Linux 2 reached end of life on 2026-06-30, and Swift.org has stopped publishing the nightly toolchains for main and release/6.4.x. The static Linux SDK build on the amazonlinux2 host now fails. Remove it from CI, and also remove the now-dead yum branch from the pre-build command, since Amazon Linux 2 was the only distribution in the matrix that used yum.
1 parent ab599fb commit 784b55d

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Test
1313
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
1414
with:
15-
linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]'
15+
linux_os_versions: '["bookworm", "noble", "jammy", "rhel-ubi9"]'
1616
linux_swift_versions: '["6.2", "nightly-main"]'
1717
linux_pre_build_command: |
1818
if command -v apt-get >/dev/null 2>&1 ; then # bookworm, noble, jammy
@@ -29,11 +29,6 @@ jobs:
2929
3030
# Test dependencies
3131
dnf install -y procps
32-
elif command -v yum >/dev/null 2>&1 ; then # amazonlinux2
33-
yum update -y
34-
35-
# Test dependencies
36-
yum install -y procps
3732
fi
3833
linux_build_command: "swift test && swift test -c release && swift test --disable-default-traits"
3934
enable_freebsd_checks: true

0 commit comments

Comments
 (0)