Skip to content

Commit 7e250ee

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

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@ jobs:
2121
windows_build_command: 'Invoke-Program swift test --no-parallel'
2222
enable_linux_static_sdk_build: true
2323
linux_static_sdk_build_command: SWIFTBUILD_STATIC_LINK=1 LLBUILD_STATIC_LINK=1 swift build
24+
tests-swift-build:
25+
name: Test
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'
34+
enable_linux_static_sdk_build: true
35+
linux_static_sdk_build_command: SWIFTBUILD_STATIC_LINK=1 LLBUILD_STATIC_LINK=1 swift build
2436
cmake-smoke-test:
2537
name: cmake-smoke-test
2638
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main

0 commit comments

Comments
 (0)