Skip to content

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Sep 26, 2019

Motivation:

60205ad (#592) cleared up the product namespace by removing executables
which were not meant to be exposed to clients. However the post-merge CI
failed (i.e. interop tests) because the executable targets no longer
exist. This was missed because the CI for the PR was still able to build
the targets and because the products had different names to the targets.

Modifications:

Use 'swift run' in the CI script used after merging PRs.

Result:

Interop tests should be runnable when a PR is merged.

Motivation:

60205ad (grpc#592) cleared up the product namespace by removing executables
which were not meant to be exposed to clients. However the post-merge CI
failed (i.e. interop tests) because the executable targets no longer
exist. This was missed because the CI for the PR was still able to build
the targets and because the products had different names to the targets.

Modifications:

Use 'swift run' in the CI script used after merging PRs.

Result:

Interop tests should be runnable when a PR is merged.
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 26, 2019

CLA Check
One or more committers are not authorized under a signed CLA as indicated below. Please click here to be authorized.

@glbrntt
Copy link
Collaborator Author

glbrntt commented Sep 26, 2019

@kevints I'm unable to request your review for this but please do so!

@kevints
Copy link
Contributor

kevints commented Sep 26, 2019

Looks like this is a package manager bug, filed https://bugs.swift.org/browse/SR-11528

As a workaround, can the main build run swift build without any arguments? Then you shouldn't be required to use swift run here. If you still want to use swift run here, consider adding --skip-build so that any build failures are caught in the pre-commit step rather than the post-commit one.

@glbrntt
Copy link
Collaborator Author

glbrntt commented Sep 27, 2019

Closing in favour of: #596

@glbrntt glbrntt closed this Sep 27, 2019
@glbrntt glbrntt deleted the gb-fix-target branch September 27, 2019 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants