Skip to content

Commit c6613c7

Browse files
authored
Update pull_request.yml
1 parent c372dcf commit c6613c7

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

.github/workflows/pull_request.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on:
55
types: [opened, reopened, synchronize]
66

77
jobs:
8-
tests:
9-
name: Test
8+
tests_5_9:
9+
name: Test 5.9-compatible Linux distributions
1010
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
1111
with:
12-
linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "focal", "rhel-ubi9"]'
12+
linux_os_versions: '["amazonlinux2", "jammy", "focal", "rhel-ubi9"]'
1313
linux_swift_versions: '["5.9", "5.10", "6.0", "6.1", "nightly-6.2", "nightly-main"]'
1414
linux_pre_build_command: |
1515
if command -v apt-get >/dev/null 2>&1 ; then # bookworm, noble, jammy, focal
@@ -20,6 +20,22 @@ jobs:
2020
yum install -y sqlite-devel
2121
fi
2222
enable_windows_checks: false
23+
24+
tests_6_0:
25+
name: Test 6.0-compatible Linux distributions
26+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
27+
with:
28+
linux_os_versions: '["bookworm", "noble"]'
29+
linux_swift_versions: '["6.0", "6.1", "nightly-6.2", "nightly-main"]'
30+
linux_pre_build_command: |
31+
if command -v apt-get >/dev/null 2>&1 ; then # bookworm, noble, jammy, focal
32+
apt-get update -y
33+
apt-get install -y locales locales-all libsqlite3-dev
34+
elif command -v yum >/dev/null 2>&1 ; then # amazonlinux2
35+
yum update -y
36+
yum install -y sqlite-devel
37+
fi
38+
enable_windows_checks: false
2339
soundness:
2440
name: Soundness
2541
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main

0 commit comments

Comments
 (0)