Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,27 @@ concurrency:

jobs:
tests:
name: Test
strategy:
fail-fast: false
matrix:
buildSystem: ["native", "swiftbuild" ]
linuxSwiftVersion: ['["nightly-main", "nightly-6.2"]', '["nightly-main"]']
exclude:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clever!

- buildSystem: "swiftbuild"
linuxSwiftVersion: '["nightly-main", "nightly-6.2"]'
- buildSystem: "native"
linuxSwiftVersion: '["nightly-main"]'
name: Test (${{ matrix.buildSystem }})
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
with:
linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]'
linux_pre_build_command: ./.github/scripts/linux_pre_build.sh
linux_build_command: 'swift test --no-parallel'
linux_swift_versions: '["nightly-main", "nightly-6.2"]'
linux_build_command: 'swift test --no-parallel --build-system ${{ matrix.buildSystem }}'
linux_swift_versions: ${{ matrix.linuxSwiftVersion }}
windows_swift_versions: '["nightly-main"]'
windows_build_command: 'Invoke-Program swift test --no-parallel'
windows_build_command: 'Invoke-Program swift test --no-parallel --build-system ${{ matrix.buildSystem }}'
enable_linux_static_sdk_build: true
linux_static_sdk_build_command: SWIFTBUILD_STATIC_LINK=1 LLBUILD_STATIC_LINK=1 swift build
linux_static_sdk_build_command: SWIFTBUILD_STATIC_LINK=1 LLBUILD_STATIC_LINK=1 swift build --build-system ${{ matrix.buildSystem }}
cmake-smoke-test:
name: cmake-smoke-test
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
Expand Down
Loading