-
Notifications
You must be signed in to change notification settings - Fork 899
Make AppVeyor run Coverity scan #1066
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
Conversation
6dccca8
to
7eb54f5
Compare
🎉 👍 |
7eb54f5
to
ff8ab1d
Compare
@whoisj It's not there yet... 😉 |
oh I was commenting on the concept - not actually approving anything 😕 |
@FeodorFitsner I think I'd need some help from you with this PR 🙏 How can publish the file 038e962 doesn't publish it. Although it exists in the folder (see the I'm surely missing something obvious here, your insight would be very much appreciated. |
When is |
|
||
& .\packages\PublishCoverity\PublishCoverity.exe compress ` | ||
-i "$env:APPVEYOR_BUILD_FOLDER\cov-int" ` | ||
-o "$env:APPVEYOR_BUILD_FOLDER\$env:APPVEYOR_PROJECT_NAME.zip" ` |
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.
@FeodorFitsner The file is created by this call to PublishCoverity.exe
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.
OK, it's on_success
stage what means it's too late for picking up artifacts. Use Push-AppVeyorArtifact
cmdlet: http://www.appveyor.com/docs/build-worker-api#push-artifact
@FeodorFitsner Perfect! They're currently created in the As always, you're spot on with an amazing support. ❤️ |
@FeodorFitsner s/build_success/deploy_script/ |
@FeodorFitsner I eventually relied on |
@csMACnz However, Coverity may reject a build because the maximum number of uploaded builds has been exceeded. How could we nicely wrap the call to For instance, this current builds fails because the AppVeyor secured variables aren't valued in a PR. According to you, how should we tweak the script so that the build doesn't fail any more? /cc @FeodorFitsner |
Can we limit Covertity to only run after all other unit tests pass? |
@whoisj The tests are currently commented out to speed the build. Of course, they'll be reinstated once I'm done and this PR is ready for review. |
af220c2
to
19fe854
Compare
@whoisj I took an alternate route. AppVeyor exposes a way to schedule builds. New proposal is to run Coverity once a week during a scheduled build. As the build will be a re-run of the the latest vNext tip, there's no need to run the tests any longer (this saves us from failed builds because of network hiccups). Thoughts? |
That works so long as somebody is responsive to the Covertity report and creates issues appropriately; and release points are at, or as close as reasonable to, Covertity scan points. |
Indeed, the idea would be to fix them as quickly as possible. |
So, good people, good to merge? |
23b2b07
to
61fdbed
Compare
👍 |
Make AppVeyor run Coverity scan
Fix #986