Skip to content

Commit 262e864

Browse files
committed
Enable CI testing for Linux
1 parent 1038151 commit 262e864

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,18 @@ jobs:
1111
with:
1212
linux_os_versions: '["noble", "jammy", "focal", "rhel-ubi9"]'
1313
linux_swift_versions: '["6.1", "nightly-main"]'
14-
linux_build_command: 'swift build'
14+
linux_pre_build_command: |
15+
if command -v apt-get >/dev/null 2>&1 ; then # noble, jammy, focal
16+
apt-get update -y
17+
18+
# Test dependencies
19+
apt-get install -y procps
20+
elif command -v dnf >/dev/null 2>&1 ; then # rhel-ubi9
21+
dnf update -y
22+
23+
# Test dependencies
24+
dnf install -y procps
25+
fi
1526
windows_swift_versions: '["6.1", "nightly-main"]'
1627
windows_build_command: 'swift build'
1728
enable_macos_checks: true

0 commit comments

Comments
 (0)