Skip to content

Commit 32c0512

Browse files
committed
GHA: Enable Testing on macOS and Linux
Update GitHub actions to also execute the automated tests on macOS and Linux platforms. Relates to: #9427 Issue: rdar://165491718
1 parent 35d6223 commit 32c0512

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ jobs:
2727
linux_pre_build_command: ./.github/scripts/prebuild.sh
2828
linux_build_command: 'swift build --build-tests'
2929
enable_windows_checks: false
30-
enable_macos_checks: true
31-
macos_exclude_xcode_versions: "[{\"xcode_version\": \"16.4\"}]"
32-
macos_build_command: 'swift build --build-tests'
30+
enable_macos_checks: false
3331
enable_ios_checks: false
3432
enable_wasm_sdk_build: false
3533

@@ -43,7 +41,7 @@ jobs:
4341
with:
4442
enable_cross_pr_testing: false
4543
# linux_publish_test_results: true
46-
enable_linux_checks: false
44+
enable_linux_checks: true
4745
# linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]'
4846
linux_swift_versions: '["nightly-main", "6.2.0"]'
4947
linux_pre_build_command: ./.github/scripts/prebuild.sh
@@ -53,7 +51,7 @@ jobs:
5351
windows_swift_versions: '["nightly-main", "6.2.0"]'
5452
windows_pre_build_command: 'Invoke-Program .\.github\scripts\prebuild.ps1 -SkipAndroid'
5553
windows_build_command: 'Invoke-Program swift run --configuration release swift-test --scratch-path .test --parallel --experimental-xunit-message-failure --xunit-output windows-xunit.xml'
56-
enable_macos_checks: false
54+
enable_macos_checks: true
5755
# Need to run against macOS OSS Toolchain: https://github.com/swiftlang/github-workflows/issues/240
5856
macos_build_timeout: 480
5957
macos_xcode_versions: "[\"26.4\"]"
@@ -73,7 +71,7 @@ jobs:
7371
with:
7472
enable_cross_pr_testing: false
7573
# linux_publish_test_results: true
76-
enable_linux_checks: false
74+
enable_linux_checks: true
7775
linux_os_versions: '["amazonlinux2"]'
7876
linux_swift_versions: '["6.2.0"]'
7977
linux_pre_build_command: ./.github/scripts/prebuild.sh

0 commit comments

Comments
 (0)