Register Xamarin license for pull requests

Oystein Bjorke's Avatar

Oystein Bjorke

04 Oct, 2015 09:41 AM

I would like Xamarin projects also to be built in builds triggered by pull requests.
I see secure environment variables are disabled for such builds.
Is it possible to register the Xamarin license for these builds?
Exposing the password is of course not an option :-)

  1. Support Staff 1 Posted by Feodor Fitsner on 05 Oct, 2015 05:25 PM

    Feodor Fitsner's Avatar

    If it's private project/repo you can "Enable secure variables for PR builds".

    Other than that the problem is interesting indeed and we should give it a thought. I added a new issue: https://github.com/appveyor/ci/issues/443

  2. 2 Posted by Oystein Bjorke on 05 Oct, 2015 07:04 PM

    Oystein Bjorke's Avatar

    Yes, please give it a thought! It would be great if we could set the Xamarin license and enable Android/iOS from the AppVeyor portal!
    I worked around the problem by using "IF DEFINED xamarin_password appveyor RegisterXamarinLicense..." and building a different solution for pull requests:
    https://github.com/oxyplot/oxyplot/blob/develop/appveyor.yml
    But this means we may get Xamarin build surprises after a PR has been merged...

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac