mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
Merge pull request #706 from lorentey/workflow-fixes
[workflows] Update CI workflows
This commit is contained in:
1 file changed
+37
-15
@@ -10,23 +10,22 @@ on:
|
||||
jobs:
|
||||
tests:
|
||||
name: Test
|
||||
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.13
|
||||
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.14
|
||||
with:
|
||||
linux_exclude_swift_versions: '[{"swift_version": "5.8"}, {"swift_version": "5.9"}, {"swift_version": "5.10"}]'
|
||||
windows_exclude_swift_versions: '[{"swift_version": "5.9"}, {"swift_version": "5.10"}]'
|
||||
macos_exclude_xcode_versions: '[{"xcode_version": "26.0"}]'
|
||||
enable_macos_checks: true
|
||||
macos_exclude_xcode_versions: '[]'
|
||||
linux_exclude_swift_versions: '[{"swift_version": "5.9"}, {"swift_version": "5.10"}]'
|
||||
windows_exclude_swift_versions: '[{"swift_version": "5.9"}]'
|
||||
enable_wasm_sdk_build: true
|
||||
enable_android_sdk_build: true
|
||||
enable_android_sdk_checks: true
|
||||
enable_freebsd_checks: true
|
||||
|
||||
containers-tests:
|
||||
name: Containers Test
|
||||
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.13
|
||||
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.14
|
||||
with:
|
||||
linux_exclude_swift_versions: '[{"swift_version": "5.8"}, {"swift_version": "5.9"}, {"swift_version": "5.10"}, {"swift_version": "6.0"}, {"swift_version": "6.1"}, {"swift_version": "6.2"}, {"swift_version": "6.3"}, {"swift_version": "nightly-6.3"}]'
|
||||
windows_exclude_swift_versions: '[{"swift_version": "5.9"}, {"swift_version": "5.10"}, {"swift_version": "6.0"}, {"swift_version": "6.1"}, {"swift_version": "6.2"}]'
|
||||
macos_exclude_xcode_versions: '[{"xcode_version": "26.0"}, {"xcode_version": "16.3"}, {"xcode_version": "16.4"}]'
|
||||
linux_swift_versions: '["6.2", "nightly-main"]'
|
||||
enable_macos_checks: false
|
||||
enable_linux_checks: true
|
||||
enable_windows_checks: false
|
||||
@@ -34,19 +33,27 @@ jobs:
|
||||
|
||||
hashed-containers-tests:
|
||||
name: Hashed Containers Test
|
||||
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.13
|
||||
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.14
|
||||
with:
|
||||
linux_exclude_swift_versions: '[{"swift_version": "5.8"}, {"swift_version": "5.9"}, {"swift_version": "5.10"}, {"swift_version": "6.0"}, {"swift_version": "6.1"}, {"swift_version": "6.2"}, {"swift_version": "6.3"}, {"swift_version": "nightly-6.3"}]'
|
||||
windows_exclude_swift_versions: '[{"swift_version": "5.9"}, {"swift_version": "5.10"}, {"swift_version": "6.0"}, {"swift_version": "6.1"}, {"swift_version": "6.2"}]'
|
||||
macos_exclude_xcode_versions: '[{"xcode_version": "26.0"}, {"xcode_version": "16.3"}, {"xcode_version": "16.4"}]'
|
||||
linux_swift_versions: '["6.2", "nightly-main"]'
|
||||
enable_macos_checks: false
|
||||
enable_linux_checks: true
|
||||
enable_windows_checks: false
|
||||
swift_flags: --traits UnstableContainersPreview,UnstableHashedContainers
|
||||
swift_flags: --traits UnstableHashedContainers
|
||||
|
||||
all-traits-tests:
|
||||
name: All Unstable Package Traits Test
|
||||
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.14
|
||||
with:
|
||||
linux_swift_versions: '["6.2", "nightly-main"]'
|
||||
enable_macos_checks: false
|
||||
enable_linux_checks: true
|
||||
enable_windows_checks: false
|
||||
swift_flags: --traits UnstableHashedContainers,UnstableContainersPreview,UnstableSortedCollections
|
||||
|
||||
embedded-swift:
|
||||
name: Build with Embedded Swift
|
||||
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.13
|
||||
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.14
|
||||
with:
|
||||
enable_linux_checks: false
|
||||
enable_macos_checks: false
|
||||
@@ -57,7 +64,7 @@ jobs:
|
||||
|
||||
soundness:
|
||||
name: Soundness
|
||||
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@0.0.13
|
||||
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@0.0.14
|
||||
with:
|
||||
license_header_check_project_name: "Swift.org"
|
||||
# https://github.com/apple/swift-collections/issues/428
|
||||
@@ -93,3 +100,18 @@ jobs:
|
||||
run: cmake -G Ninja -S . -B .cmake-build
|
||||
- name: Build
|
||||
run: cmake --build .cmake-build
|
||||
|
||||
xcode-build:
|
||||
name: Xcode Project Build
|
||||
runs-on: [self-hosted, macos, "tahoe", "ARM64"]
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v7
|
||||
- name: Select Xcode
|
||||
run: echo "DEVELOPER_DIR=/Applications/Xcode_swift_6.4.app/Contents/Developer" >> $GITHUB_ENV
|
||||
- name: Xcode version
|
||||
run: xcrun xcodebuild -version
|
||||
- name: Swift version
|
||||
run: xcrun swift --version
|
||||
- name: Build
|
||||
run: xcrun xcodebuild -project Xcode/Collections.xcodeproj -scheme Collections
|
||||
Reference in new issue
Block a user