-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
skip xamarin-dependent steps in appveyor PR builds #1061
skip xamarin-dependent steps in appveyor PR builds #1061
Conversation
…pt secure variable xamarin_password, so appveyor builds no longer fail for pull requests
This is the workaround suggested by Oystein Bjorke at http://help.appveyor.com/discussions/questions/1728-register-xamarin-license-for-pull-requests using windows command line "IF DEFINED" to skip build steps when it's obvious they're going to fail. IF DEFINED xamarin_password appveyor RegisterXamarinLicense ... The theory is based on http://www.appveyor.com/docs/lang/xamarin where it says
|
Current coverage is
|
thanks! But it seems that it's now never build on Xamarin., See https://ci.appveyor.com/project/nlog/nlog/build/4.0.1278 I expect:
|
Yeah. A private CI build (meaning "Wherever the AppVeyor builds work fully for you before these changes") will still run the xamarin stuff because %xamarin_password% expands correctly there. So for git pull request workflow, maybe the idea is at some point, someone does a private CI build to check the Xamarin stuff before accepting a pull request (bleh, more work). Or we just let it go and retroactively fix stuff on 'master' after the fact (ew). My most recent commit attempted to produce a warning that would make it obvious in the GitHub web display when xamarin steps are skipped (but it doesn't look like it made a noticeable difference like I wanted) This all sounds like more steps forward than back to me (because at least what can be built is building). But if it's not good enough, I'm OK to cancel this pull request and let someone else find a better solution =) |
I will merge this as it's better than nothing.... Thanks for your help! I will contact AppVeyor as I think to know a solution for the secure variables "leak" in PR's |
…rin-builds-for-pull-requests skip xamarin-dependent steps in appveyor PR builds
Experimenting based on the discussion started at #1044 (comment)