@@ -14,16 +14,17 @@ jobs:
14
14
uses : swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
15
15
with :
16
16
linux_os_versions : ' ["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]'
17
- linux_pre_build_command : ./.github/scripts/linux_pre_build .sh
17
+ linux_pre_build_command : ./.github/scripts/prebuild .sh
18
18
linux_build_command : ' swift test --no-parallel'
19
19
linux_swift_versions : ' ["nightly-main", "nightly-6.2"]'
20
- windows_pre_build_command : ' Invoke-Program .\.github\scripts\windows_pre_build .ps1'
20
+ windows_pre_build_command : ' Invoke-Program .\.github\scripts\prebuild .ps1'
21
21
windows_swift_versions : ' ["nightly-main"]'
22
22
windows_build_command : ' Invoke-Program swift test --no-parallel'
23
23
enable_linux_static_sdk_build : true
24
24
linux_static_sdk_build_command : SWIFTBUILD_STATIC_LINK=1 LLBUILD_STATIC_LINK=1 swift build
25
25
enable_macos_checks : true
26
26
macos_exclude_xcode_versions : " [{\" xcode_version\" : \" 16.3\" }, {\" xcode_version\" : \" 16.4\" }]"
27
+ macos_pre_build_command : ./.github/scripts/prebuild.sh
27
28
macos_build_command :
28
29
swift test &&
29
30
/usr/bin/xcrun xcodebuild -workspace . -scheme SwiftBuild-Package -destination generic/platform=iOS
@@ -32,10 +33,14 @@ jobs:
32
33
uses : swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
33
34
with :
34
35
linux_os_versions : ' ["noble"]'
35
- linux_pre_build_command : SKIP_ANDROID=1 INSTALL_CMAKE=1 ./.github/scripts/linux_pre_build .sh
36
+ linux_pre_build_command : SKIP_ANDROID=1 INSTALL_CMAKE=1 ./.github/scripts/prebuild .sh
36
37
linux_build_command : ' swift package -Xbuild-tools-swiftc -DUSE_PROCESS_SPAWNING_WORKAROUND cmake-smoke-test --disable-sandbox --cmake-path `which cmake` --ninja-path `which ninja` --extra-cmake-arg -DCMAKE_C_COMPILER=`which clang` --extra-cmake-arg -DCMAKE_CXX_COMPILER=`which clang++` --extra-cmake-arg -DCMAKE_Swift_COMPILER=`which swiftc`'
37
38
linux_swift_versions : ' ["nightly-main"]'
38
- windows_pre_build_command : ' Invoke-Program .\.github\scripts\windows_pre_build.ps1 -SkipAndroid -InstallCMake'
39
+ enable_macos_checks : true
40
+ macos_xcode_versions : ' ["26.0"]'
41
+ macos_pre_build_command : SKIP_ANDROID=1 INSTALL_CMAKE=1 ./.github/scripts/prebuild.sh
42
+ macos_build_command : ' export PATH=$PATH:$RUNNER_TOOL_CACHE && swift package cmake-smoke-test --disable-sandbox --cmake-path `which cmake` --ninja-path `which ninja` --extra-cmake-arg -DCMAKE_C_COMPILER=`which clang` --extra-cmake-arg -DCMAKE_CXX_COMPILER=`which clang++` --extra-cmake-arg -DCMAKE_Swift_COMPILER=`which swiftc`'
43
+ windows_pre_build_command : ' Invoke-Program .\.github\scripts\prebuild.ps1 -SkipAndroid -InstallCMake'
39
44
windows_swift_versions : ' ["nightly-main"]'
40
45
windows_build_command : ' Invoke-Program swift package cmake-smoke-test --disable-sandbox --cmake-path (Get-Command cmake).Path --ninja-path (Get-Command ninja).Path --extra-cmake-arg "-DCMAKE_C_COMPILER=$((Get-Command clang).Path)" --extra-cmake-arg "-DCMAKE_CXX_COMPILER=$((Get-Command clang).Path)" --extra-cmake-arg "-DCMAKE_Swift_COMPILER=$((Get-Command swiftc).Path)" --extra-cmake-arg "-DCMAKE_STATIC_LIBRARY_PREFIX_Swift=lib" --extra-cmake-arg "-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL"'
41
46
0 commit comments