New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ssamadgh/ModelAssistant to suite #268
Conversation
@ssamadgh Thanks for opening this! Allow me some time to review, and I'll get testing started when review is complete. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was unable to get ./project_precommit_check
to pass with the current configuration. It failed because it couldn't find an Xcode workspace. This makes sense, because your project isn't configured as a workspace, but a regular Xcode project.
I've made a few changes locally, and was able to get it working by using a project configuration instead of workspace. These changes have been added as suggestions.
$ ./project_precommit_check ModelAssistant --earliest-compatible-swift-version 4.2
** CHECK **
--- Validating ModelAssistant Swift version 4.2 compatibility ---
--- Project configured to be compatible with Swift 4.2 ---
--- Checking ModelAssistant platform compatibility with Darwin ---
--- Platform compatibility check succeeded ---
--- Locating swiftc executable ---
$ xcrun -f swiftc
--- Checking installed Swift version ---
$ /Applications/Xcodes/PublicGMs/Xcode-10-GM.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
--- Version check succeeded ---
--- Executing build actions ---
$ ./runner.py --swift-branch swift-4.2-branch --swiftc /Applications/Xcodes/PublicGMs/Xcode-10-GM.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --projects projects.json --include-repos 'path == "ModelAssistant"' --include-versions 'version == "4.2"' --include-actions 'action.startswith("Build")'
PASS: ModelAssistant, 4.2, 1f1d37, ModelAssistant iOS, generic/platform=iOS
========================================
Action Summary:
Passed: 1
Failed: 0
XFailed: 0
UPassed: 0
Total: 1
========================================
Repository Summary:
Total: 1
========================================
Result: PASS
========================================
--- ModelAssistant checked successfully against Swift 4.2 ---
Co-Authored-By: ssamadgh <ssamadgh@gmail.com>
Co-Authored-By: ssamadgh <ssamadgh@gmail.com>
@swift-ci test |
@swift-ci test |
@ssamadgh Yes, I'd be happy to test again. The only way to start testing for this is for someone in the Swift Committers group to use Looking at the most recent failure, this may be a compiler crash. Let's see if it still happens after your changes to the library. |
Looks like this is crashing in the same way as before. I've filed SR-9102 to investigate. For the meantime, we can xfail this to be able to get it merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add xfail as suggested.
Co-Authored-By: ssamadgh <ssamadgh@users.noreply.github.com>
@swift-ci test |
@ssamadgh Thanks for setting this up! |
@clackary Thanks for merging. What should I do if I updated my repository? |
Since you are the project maintainer, it's up to you how often you'd like to update the commit hash. Feel free to open a pull request with a new hash any time. From what I've seen with other projects, this usually happens when updating to a new Swift version, or when there are large and significant changes to a project. |
Pull Request Description
Added ModelAssistant Repository to Projects.json
Acceptance Criteria
To be accepted into the Swift source compatibility test suite, a project must:
./project_precommit_check
script runEnsure project meets all listed requirements before submitting a pull request.