Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
6c2755d
Pipeline: Enable unacceptable language checks
bkhouri Nov 27, 2025
41f7eea
Change AsyncProcess stdout/err reads to 4096 instead of Int.max (#9408)
daveinglis Dec 5, 2025
cb587d2
Fix for linking tests with swiftbuild on windows (#9405)
daveinglis Dec 5, 2025
f269157
SwiftBuild: Add index store support
bkhouri Nov 6, 2025
1845c6e
Mark purgeCacheInPackageDirectory withKnowIssue for AL2 (#9386) (#9400)
daveinglis Dec 5, 2025
592886b
GHA: Enforce license header check
bkhouri Dec 5, 2025
5fd522f
Remove placeholder line in WritingCommandPlugin.md (#9440)
EmingK Dec 5, 2025
731f960
Expose a SwiftPM BSP interface based on Swift Build (#9129)
owenv Dec 5, 2025
4eb0097
Fix test the broke build due to merge race (#9470)
daveinglis Dec 6, 2025
ec5d66a
Remove triple from SwiftBuild system output path (#9370)
bkhouri Dec 6, 2025
7c14274
Fix warnings in Sources/Commands (#9425)
plemarquand Dec 6, 2025
e645a74
Enable SwiftBuild in pipeline (#9406)
bkhouri Dec 6, 2025
c26009f
SwiftBuild Integration: Enable some sanitizers (#9389)
bkhouri Dec 6, 2025
9653927
Provide the downloadable metal toolchain to swiftbuild (#9434)
rconnell9 Dec 6, 2025
68d9aba
Fixup licence header in DisableSigpipe.swift
plemarquand Dec 8, 2025
444b5be
Fix concurrency warnings in AsyncProcess (#9430)
plemarquand Dec 8, 2025
5f7cf54
Merge pull request #9475 from plemarquand/fixup-licence-header
milseman Dec 8, 2025
a5be296
Tests: Add automated tests to verify dead code strip
bkhouri Nov 18, 2025
49d533d
Promote to public operation to compute PIF GUID for products (#9409)
pmattos Dec 8, 2025
33f29da
Add Dependabot configuration for GitHub Actions (#9482)
shahmishal Dec 9, 2025
4e4db3d
Mark build server tests as flaky while debugging build description lo…
owenv Dec 10, 2025
accc945
Bump swiftlang/github-workflows/.github/workflows/create_automerge_pr…
dependabot[bot] Dec 9, 2025
7ee2e09
Ensure testable variants of targets depend on the primary variant's r…
owenv Dec 10, 2025
1f8d809
Set explicit file types in PIF for binary artifacts (#9479)
owenv Dec 10, 2025
63047d9
Expose PackageDependency creation methods (#9484)
plemarquand Dec 10, 2025
96d7b55
Remove Ben Barham from code owners
bnbarham Dec 11, 2025
8b11e43
Use the correct module name for executable targets combined with an e…
owenv Dec 11, 2025
4f31792
Bump swiftlang/github-workflows/.github/workflows/swift_package_test.…
dependabot[bot] Dec 11, 2025
ef8b21d
Bump swiftlang/github-workflows/.github/workflows/soundness.yml from …
dependabot[bot] Dec 11, 2025
10af69e
Capture code snippet from diagnostic compiler output (#9362)
bripeticca Dec 11, 2025
f13f2a4
Fixup InMemoryFilesSystemTests to use #expect(throws:) vs withKnownIs…
plemarquand Dec 11, 2025
f43740c
Link Swift Testing documentation in its test template (#9368)
jerryjrchen Dec 11, 2025
bb754d8
Use dedicated thread when invoking buildSystem.build() as it is a blo…
rconnell9 Dec 12, 2025
3af203f
Don't rely on current working directory in BasicTests - use packagePa…
rconnell9 Dec 12, 2025
1fb32b5
Update build-using-self (#9496)
bkhouri Dec 13, 2025
b60528e
Remove a couple areas where tests where changing cwd (fixes AL2 crash…
daveinglis Dec 14, 2025
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
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
create_merge_pr:
name: Create PR to merge main into release branch
uses: swiftlang/github-workflows/.github/workflows/[email protected].1
uses: swiftlang/github-workflows/.github/workflows/[email protected].2
with:
head_branch: main
base_branch: release/6.3
Expand Down
51 changes: 42 additions & 9 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,62 @@ concurrency:
cancel-in-progress: true

jobs:
tests:
name: Test
uses: swiftlang/github-workflows/.github/workflows/[email protected]
tests-using-native:
needs: [soundness]
strategy:
fail-fast: false
matrix:
buildSystem: ["native", "swiftbuild"]
linuxSwiftVersion: ['["nightly-main", "nightly-6.2"]', '["nightly-main"]']
enable_windows_checks: [true]
exclude:
- buildSystem: "swiftbuild"
linuxSwiftVersion: '["nightly-main", "nightly-6.2"]'
- buildSystem: "swiftbuild"
enable_windows_checks: true
- buildSystem: "native"
linuxSwiftVersion: '["nightly-main"]'
name: Test (${{ matrix.buildSystem }})
uses: swiftlang/github-workflows/.github/workflows/[email protected]
with:
linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]'
linux_swift_versions: ${{ matrix.linuxSwiftVersion }}
linux_pre_build_command: ./.github/scripts/prebuild.sh
linux_build_command: 'swift run swift-build --build-tests --build-system ${{ matrix.buildSystem}}'
windows_swift_versions: '["nightly-main"]'
windows_pre_build_command: 'Invoke-Program .\.github\scripts\prebuild.ps1'
windows_build_command: 'Invoke-Program swift run swift-build --build-tests --build-system ${{ matrix.buildSystem}}'
enable_windows_checks: ${{ matrix.enable_windows_checks }}
enable_ios_checks: true
enable_macos_checks: true
macos_exclude_xcode_versions: "[{\"xcode_version\": \"16.3\"}, {\"xcode_version\": \"16.4\"}]"
macos_build_command: 'swift run swift-build --build-tests --build-system ${{ matrix.buildSystem}}'

tests-using-swiftbuild:
name: Test (all SwiftBuild)
needs: [soundness]
uses: swiftlang/github-workflows/.github/workflows/[email protected]
with:
linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]'
linux_swift_versions: '["nightly-main"]'
linux_pre_build_command: ./.github/scripts/prebuild.sh
linux_build_command: 'swift build'
linux_build_command: 'swift run --build-system swiftbuild swift-build --build-tests --build-system swiftbuild'
enable_windows_checks: false
windows_swift_versions: '["nightly-main"]'
windows_pre_build_command: 'Invoke-Program .\.github\scripts\prebuild.ps1'
windows_build_command: 'Invoke-Program swift build'
windows_build_command: 'Invoke-Program swift run --build-system swiftbuild swift-build --build-tests --build-system swiftbuild'
enable_ios_checks: true
enable_macos_checks: true
macos_exclude_xcode_versions: "[{\"xcode_version\": \"16.3\"}, {\"xcode_version\": \"16.4\"}]"
macos_build_command: 'swift build'
macos_build_command: 'swift run --build-system swiftbuild swift-build --build-tests --build-system swiftbuild'

soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/[email protected].1
uses: swiftlang/github-workflows/.github/workflows/[email protected].2
with:
license_header_check_project_name: "Swift"
license_header_check_enabled: false
unacceptable_language_check_enabled: false
license_header_check_enabled: true
unacceptable_language_check_enabled: true
api_breakage_check_enabled: false
format_check_enabled: false
shell_check_enabled: false
19 changes: 19 additions & 0 deletions .licenseignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,24 @@
.dir-locals.el
.editorconfig
.swift-version
.swiftformat
.pep8
.mailmap
.mailfilter
CODEOWNERS
Package.swift
Fixtures/**/*.*
**/*.pc
**/*.cer
**/*.zip
**/*.tar
**/*.tgz
**/*.gz
**/*.svg
**/*.bat
**/*.xctestplan
**/processInputs/**
Utilities/bootstrap
Utilities/build-using-self
Utilities/new-bootstrap
Utilities/test-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift open source project
//
// Copyright (c) 2024 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//

@_spi(DontAdoptOutsideOfSwiftPMExposedForBenchmarksAndTestsOnly)
import Basics
import Benchmark
Expand Down Expand Up @@ -103,18 +115,18 @@ let benchmarks = {
)
) { benchmark in
try syntheticModulesGraph(
benchmark,
modulesGraphDepth: modulesGraphDepth,
benchmark,
modulesGraphDepth: modulesGraphDepth,
modulesGraphWidth: modulesGraphWidth,
includeMacros: true
)
}
}

func syntheticModulesGraph(
_ benchmark: Benchmark,
modulesGraphDepth: Int,
modulesGraphWidth: Int,
_ benchmark: Benchmark,
modulesGraphDepth: Int,
modulesGraphWidth: Int,
includeMacros: Bool = false
) throws {
// If macros are included, modules are split in three parts:
Expand Down
6 changes: 3 additions & 3 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@

* @jakepetroules @dschaefer2 @bripeticca @plemarquand @owenv @bkhouri @cmcgee1024 @daveyc123 @rconnell9

Sources/Commands/PackageCommands/Migrate.swift @AnthonyLatsis @bnbarham @xedin @jakepetroules @dschaefer2 @bripeticca @plemarquand @owenv @bkhouri @cmcgee1024 @daveyc123 @rconnell9
Sources/SwiftFixIt/* @AnthonyLatsis @bnbarham @xedin @jakepetroules @dschaefer2 @bripeticca @plemarquand @owenv @bkhouri @cmcgee1024 @daveyc123 @rconnell9
Tests/SwiftFixItTests/* @AnthonyLatsis @bnbarham @xedin @jakepetroules @dschaefer2 @bripeticca @plemarquand @owenv @bkhouri @cmcgee1024 @daveyc123 @rconnell9
Sources/Commands/PackageCommands/Migrate.swift @AnthonyLatsis @xedin @jakepetroules @dschaefer2 @bripeticca @plemarquand @owenv @bkhouri @cmcgee1024 @daveyc123 @rconnell9
Sources/SwiftFixIt/* @AnthonyLatsis @xedin @jakepetroules @dschaefer2 @bripeticca @plemarquand @owenv @bkhouri @cmcgee1024 @daveyc123 @rconnell9
Tests/SwiftFixItTests/* @AnthonyLatsis @xedin @jakepetroules @dschaefer2 @bripeticca @plemarquand @owenv @bkhouri @cmcgee1024 @daveyc123 @rconnell9
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

There are several types of contributions one can make. Bug fixes, documentation and enhancements that do not materially change the user facing semantics of Swift Package Manager should be submitted directly as PR.

Larger changes that do materially change the semantics of Swift Package Manager (e.g. changes to the manifest format or behavior) are required to go through [Swift Evolution Process](https://github.com/swiftlang/swift-evolution/blob/master/process.md).
Larger changes that do materially change the semantics of Swift Package Manager (e.g. changes to the manifest format or behavior) are required to go through [Swift Evolution Process](https://github.com/swiftlang/swift-evolution/blob/main/process.md).

To see how previous evolution decisions for SwiftPM have been made and have some direction for the development of future features please check out the [Community Proposals](https://forums.swift.org/tag/packagemanager).

Expand All @@ -16,7 +16,7 @@ Fill the following fields:

* `Title`: A one line summary of the problem you're facing.
* `Description`: The complete description of the problem. Be specific.
* `Expected behavior`: How you expect SwiftPM to behave.
* `Expected behavior`: How you expect SwiftPM to behave.
* `Actual behavior` : What actually happens.
* `Steps to reproduce`: Be specific, provide steps to reproduce the bug.
* `Swift Package Manager version/commit hash` : With which version are you testing.
Expand Down Expand Up @@ -510,5 +510,5 @@ Make sure to update your TSC (Tools Support Core):
```bash
$> swift package update
```
Alternatively, if you are using Xcode, you can update to the latest version of all packages:
Alternatively, if you are using Xcode, you can update to the latest version of all packages:
**Xcode App** > *File* > *Swift Packages* > *Update to Latest Package Versions*
2 changes: 1 addition & 1 deletion Documentation/Design/EvolutionIdeas.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you're interested in participating in a particular evolution idea, please
familiarize yourself with the existing discussion on that topic and start
participating in the discussion thread of that idea. If a thread doesn't exist
for that idea, please start one with a [draft
proposal](https://github.com/swiftlang/swift-evolution/blob/master/proposal-templates/0000-swiftpm-template.md)
proposal](https://github.com/swiftlang/swift-evolution/blob/main/proposal-templates/0000-swiftpm-template.md)
that can be used as a starting point.

**Important Note**: This list is not in any particular order. I plan to keep
Expand Down
Loading