Skip to content

Commit 0ae6d6a

Browse files
committed
Add support for multiple Linux platforms
1 parent 831cb02 commit 0ae6d6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ jobs:
99
name: Test
1010
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
1111
with:
12-
linux_pre_build_command: apt-get update && apt-get install -y libsqlite3-dev libncurses5-dev
12+
linux_os_versions: '["noble", "jammy", "focal", "rhel-ubi9"]'
13+
linux_pre_build_command: command -v apt >/dev/null 2>&1 && apt update && apt install -y libsqlite3-dev libncurses5-dev || (command -v yum >/dev/null 2>&1 && yum update -y && yum install -y sqlite-devel)
1314
linux_swift_versions: '["nightly-main", "nightly-6.2"]'
1415
windows_swift_versions: '["nightly-main"]'
1516
soundness:

0 commit comments

Comments
 (0)