|
15 | 15 | tests: |
16 | 16 | name: Test |
17 | 17 | uses: swiftlang/github-workflows/.github/workflows/[email protected] |
18 | | - needs: [soundness, space-format-check] |
19 | 18 | with: |
20 | | - linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]' |
21 | | - linux_pre_build_command: ./.github/scripts/prebuild.sh |
22 | | - linux_build_command: 'swift test --no-parallel' |
23 | | - linux_swift_versions: '["nightly-main", "nightly-6.2"]' |
24 | | - linux_host_archs: '["x86_64", "aarch64"]' |
25 | | - windows_pre_build_command: 'Invoke-Program .\.github\scripts\prebuild.ps1' |
26 | | - windows_swift_versions: '["nightly-main", "nightly-6.2"]' |
27 | | - windows_build_command: 'Invoke-Program swift test --no-parallel' |
28 | | - enable_linux_static_sdk_build: true |
29 | | - enable_android_sdk_build: true |
30 | | - android_sdk_build_command: "swift build --build-tests" |
31 | | - android_ndk_versions: '["r27d", "r29"]' |
32 | | - linux_static_sdk_build_command: SWIFTBUILD_STATIC_LINK=1 LLBUILD_STATIC_LINK=1 swift build |
33 | | - enable_ios_checks: true |
| 19 | + enable_linux_checks: false |
34 | 20 | enable_macos_checks: true |
35 | 21 | macos_exclude_xcode_versions: "[{\"xcode_version\": \"16.3\"}, {\"xcode_version\": \"16.4\"}]" |
36 | 22 | macos_pre_build_command: ./.github/scripts/prebuild.sh |
37 | | - macos_build_command: |
38 | | - swift test && |
39 | | - /usr/bin/xcrun xcodebuild -workspace . -scheme SwiftBuild-Package -destination generic/platform=iOS |
40 | | - tests_without_docker: |
41 | | - name: Test without Docker |
42 | | - uses: swiftlang/github-workflows/.github/workflows/[email protected] |
43 | | - needs: [soundness, space-format-check] |
44 | | - with: |
45 | | - enable_linux_checks: false |
46 | | - enable_windows_docker: false |
47 | | - windows_pre_build_command: 'Invoke-Program .\.github\scripts\prebuild.ps1' |
48 | | - windows_swift_versions: '["nightly-main", "nightly-6.2"]' |
49 | | - windows_build_command: 'Invoke-Program swift test --no-parallel' |
50 | | - windows_os_versions: '["windows-2022", "windows-11-arm"]' |
51 | | - cmake-smoke-test: |
52 | | - name: cmake-smoke-test |
53 | | - uses: swiftlang/github-workflows/.github/workflows/[email protected] |
54 | | - needs: [soundness, space-format-check] |
55 | | - with: |
56 | | - linux_os_versions: '["noble"]' |
57 | | - linux_pre_build_command: SKIP_ANDROID=1 INSTALL_CMAKE=1 ./.github/scripts/prebuild.sh |
58 | | - 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`' |
59 | | - linux_swift_versions: '["nightly-main"]' |
60 | | - linux_host_archs: '["x86_64", "aarch64"]' |
61 | | - enable_macos_checks: true |
62 | | - macos_xcode_versions: '["26.0"]' |
63 | | - macos_pre_build_command: SKIP_ANDROID=1 INSTALL_CMAKE=1 ./.github/scripts/prebuild.sh |
64 | | - 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`' |
65 | | - windows_pre_build_command: 'Invoke-Program .\.github\scripts\prebuild.ps1 -SkipAndroid -InstallCMake' |
66 | | - windows_swift_versions: '["nightly-main"]' |
67 | | - 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"' |
68 | | - |
69 | | - soundness: |
70 | | - name: Soundness |
71 | | - uses: swiftlang/github-workflows/.github/workflows/[email protected] |
72 | | - with: |
73 | | - license_header_check_project_name: "Swift" |
74 | | - api_breakage_check_enabled: false |
75 | | - format_check_enabled: false |
76 | | - |
77 | | - space-format-check: |
78 | | - name: Space format check |
79 | | - runs-on: ubuntu-latest |
80 | | - timeout-minutes: 10 |
81 | | - steps: |
82 | | - - name: Checkout repository |
83 | | - uses: actions/checkout@v4 |
84 | | - - name: Run space format check |
85 | | - run: cat .github/scripts/format-check.sh | bash |
| 23 | + macos_build_command: ./.github/scripts/test.sh |
0 commit comments