[do not merge] Test PR for Swift-Markdown #13#40031
[do not merge] Test PR for Swift-Markdown #13#40031franklinsch wants to merge 1 commit intoswiftlang:mainfrom
Conversation
|
swiftlang/swift-markdown#13 |
How does the cross-repo test working? I did not see any config file change. Is this grammar mean that we are testing swift repo with swift-markdown on this markdown-PR's branch? |
Yes, that's right. It builds swift main with the Swift-Markdown PR. |
|
In macOS Platform log's end
I did not find what's wrong with the test. What's the actually failure about this? Is there something related to me to fix? |
|
It looks like the build is failing with: Which seems to be related to the changes in the Swift-Markdown PR |
Got the issue. In the past, we do not need to write package name for the dependence. dependencies: ["cmark-gfm", "cmark-gfm-extensions", "CAtomic"])But in the recent version of SPM(swift 5.x), if a dependence is in the same package, we could use the old way (byNameTarget), but if a dependence is in other package, we need to explicitly use something like And in the bottom, we have this. if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
// Building standalone, so fetch all dependencies remotely.
package.dependencies += [
.package(url: "https://github.com/apple/swift-cmark.git", .branch("gfm")),
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.4.4")),
]
} else {
// Building in the Swift.org CI system, so rely on local versions of dependencies.
package.dependencies += [
.package(path: "../swift-cmark-gfm"),
.package(path: "../swift-argument-parser"),
]
}Then the product's package name should be swift-cmark-gfm if we are have "SWIFTCI_USE_LOCAL_DEPS". |
|
we could solve this by introduce a var like this. Let me check a while to see if there is a better solution. |
|
Temp fixed by adding a var. Update the branch, could we run test again? Thanks |
|
This is a change introduced in SE-0226:
As such, your proposed fix looks good to me. |
|
swiftlang/swift-markdown#13 |
Got it, so it is a feature already discussed under swift-evolution. |
|
The Windows Platform test seems to be cancelled by the user. |
|
@swift-ci please build toolchain |
|
Linux Toolchain (Ubuntu 16.04) Install command |
|
swiftlang/swift-markdown#13 |
|
Linux Toolchain (Ubuntu 16.04) Install command |
|
macOS Toolchain Install command |

Test PR for cross-repo testing swiftlang/swift-markdown#13.