Skip to content

Enable amazonlinux2 in pull_request.yml #227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
12 changes: 11 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,18 @@ jobs:
name: Test
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
with:
linux_pre_build_command: apt-get update && apt-get install -y locales locales-all libsqlite3-dev
linux_os_versions: '["amazonlinux2", "bookworm", "jammy", "focal", "noble", "rhel-ubi9"]'
linux_swift_versions: '["6.0", "6.1", "nightly-6.2", "nightly-main"]'
linux_pre_build_command: |
if command -v apt-get >/dev/null 2>&1 ; then # bookworm, noble, jammy, focal
apt-get update -y
apt-get install -y locales locales-all libsqlite3-dev
elif command -v yum >/dev/null 2>&1 ; then # amazonlinux2
yum update -y
yum install -y sqlite-devel
fi
enable_windows_checks: false

soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
Expand Down
90 changes: 63 additions & 27 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.