From 82542c77470b59ee21809f47337ea29b34e42d48 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Fri, 27 Jun 2025 10:55:49 -0700 Subject: [PATCH] Enable CI testing for Linux --- .github/workflows/pull_request.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a49b5f3..0572ea6 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -11,7 +11,18 @@ jobs: with: linux_os_versions: '["noble", "jammy", "focal", "rhel-ubi9"]' linux_swift_versions: '["6.1", "nightly-main"]' - linux_build_command: 'swift build' + linux_pre_build_command: | + if command -v apt-get >/dev/null 2>&1 ; then # noble, jammy, focal + apt-get update -y + + # Test dependencies + apt-get install -y procps + elif command -v dnf >/dev/null 2>&1 ; then # rhel-ubi9 + dnf update -y + + # Test dependencies + dnf install -y procps + fi windows_swift_versions: '["6.1", "nightly-main"]' windows_build_command: 'swift build' enable_macos_checks: true