[ccan] AppVeyor custom Git URL support (was Re: [PATCH v3 0/7] configurator: Support for Windows and MSVC)
Kevin Locke
kevin at kevinlocke.name
Sat Dec 3 07:23:13 AEDT 2016
On Sun, 2016-10-02 at 21:14 -0600, Kevin Locke wrote:
> On Sat, 2016-10-01 at 01:08 +1000, David Gibson wrote:
>> I set myself up an appveyor account and tweaked your comment to point
>> at that instead of the hypothetical one Rusty may or may not set up at
>> some point.
>>
>> I've actually set up two appveyor projects: one which tracks my github
>> ccan repository at:
>> https://ci.appveyor.com/project/dgibson/ccan-c44x3
>>
>> And another which tracks the upstream master git for ccan at:
>> https://ci.appveyor.com/project/dgibson/ccan
>>
>> Bizarrely, the github one is working great, whereas the direct git one
>> is giving errors, even though they're showing as building exactly the
>> same commit :/. It kind of looks like the master one is ignoring the
>> appveyor.yml for no apparent reason - it seems to be looking for a
>> vcproj file instead of using the build scripts you've supplied.
>
> I it looks like this is a result of AppVeyor not using appveyor.yml
> for custom Git repositories.[2] I've added a comment to the issue in
> their GitHub issue tracker to see what can be done. [...]
To follow up on this, AppVeyor just released an update which includes
support for YAML configuration files loaded from a user-specified
URL.[1] I tried creating an AppVeyor project with the YAML
configuration loaded via gitweb using the following URL:
https://git.ozlabs.org/?p=ccan;a=blob_plain;f=appveyor.yml;hb=HEAD
It built successfully using the project appveyor.yml configuration.
You may want to try specifying the above URL as the "Custom
configuration .yml file name" in the General Settings of your CCAN
AppVeyor project using the git.ozlabs.org Git URL.
1. https://github.com/appveyor/ci/issues/1089#issuecomment-264549196
--
Cheers, | kevin at kevinlocke.name | XMPP: kevin at kevinlocke.name
Kevin | https://kevinlocke.name | IRC: kevinoid on freenode
More information about the ccan
mailing list