Skip to content

Commit 9169cfb

Browse files
committed
pipeline: Include steps to test using SwiftBuild build system
1 parent df32ea1 commit 9169cfb

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/pull_request.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,27 @@ concurrency:
1010

1111
jobs:
1212
tests:
13-
name: Test
13+
name: Test (Native)
1414
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
1515
with:
1616
linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]'
1717
linux_pre_build_command: ./.github/scripts/linux_pre_build.sh
18-
linux_build_command: 'swift test --no-parallel'
18+
linux_build_command: 'swift test --no-parallel --build-system native'
1919
linux_swift_versions: '["nightly-main", "nightly-6.2"]'
2020
windows_swift_versions: '["nightly-main"]'
21-
windows_build_command: 'Invoke-Program swift test --no-parallel'
21+
windows_build_command: 'Invoke-Program swift test --no-parallel --build-system native'
22+
enable_linux_static_sdk_build: true
23+
linux_static_sdk_build_command: SWIFTBUILD_STATIC_LINK=1 LLBUILD_STATIC_LINK=1 swift build
24+
tests-swift-build:
25+
name: Test (Swift Build)
26+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
27+
with:
28+
linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]'
29+
linux_pre_build_command: ./.github/scripts/linux_pre_build.sh
30+
linux_build_command: 'swift test --no-parallel --build-system swiftbuild'
31+
linux_swift_versions: '["nightly-main",]'
32+
windows_swift_versions: '["nightly-main"]'
33+
windows_build_command: 'Invoke-Program swift test --no-parallel --build-system swiftbuild'
2234
enable_linux_static_sdk_build: true
2335
linux_static_sdk_build_command: SWIFTBUILD_STATIC_LINK=1 LLBUILD_STATIC_LINK=1 swift build
2436
cmake-smoke-test:

0 commit comments

Comments
 (0)