Skip to content

Commit 018c26f

Browse files
committed
This is a test of SwiftPM functionality that is new in SwiftPM 5.6 (thus the XFAIL for `release/5.5`). This is a sample package that uses a modified version of swift-protobuf to which a SwiftPM build tool plugin has been added. The sample verifies that `.proto` files get processed properly. This is currently only Darwin but a future PR will extend it to Linux. rdar://84315022
1 parent a65347a commit 018c26f

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

projects.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3348,6 +3348,39 @@
33483348
}
33493349
]
33503350
},
3351+
{
3352+
"repository": "Git",
3353+
"url": "https://github.com/abertelrud/swift-protobuf-plugin-example.git",
3354+
"path": "swift-protobuf-plugin-example",
3355+
"branch": "main",
3356+
"maintainer": "[email protected]",
3357+
"compatibility": [
3358+
{
3359+
"version": "5.0",
3360+
"commit": "85bec04626e571ae8391175285e0cf111140fddc"
3361+
}
3362+
],
3363+
"platforms": [
3364+
"Darwin"
3365+
],
3366+
"actions": [
3367+
{
3368+
"action": "BuildSwiftPackage",
3369+
"configuration": "release",
3370+
"tags": "sourcekit-disabled swiftpm",
3371+
"xfail": [
3372+
{
3373+
"issue": "SwiftPM plugins are only supported in SwiftPM 5.6 and later",
3374+
"compatibility": ["5.0"],
3375+
"branch": ["release/5.5"]
3376+
}
3377+
]
3378+
},
3379+
{
3380+
"action": "TestSwiftPackage"
3381+
}
3382+
]
3383+
},
33513384
{
33523385
"repository": "Git",
33533386
"url": "https://github.com/apple/swift-system",

0 commit comments

Comments
 (0)