Skip to content

appveyor: don't rewrite the system mingw#4137

Merged
ethomson merged 2 commits intomasterfrom
ethomson/appveyor
Feb 25, 2017
Merged

appveyor: don't rewrite the system mingw#4137
ethomson merged 2 commits intomasterfrom
ethomson/appveyor

Conversation

@ethomson
Copy link
Copy Markdown
Member

Trying to chase down the new appveyor build failures...

@ethomson
Copy link
Copy Markdown
Member Author

ARGH, this didn't even queue an appveyor build?! 😡

The 'appveyor' branch is useful for testing AppVeyor builds.
@tkelman
Copy link
Copy Markdown
Contributor

tkelman commented Feb 24, 2017

what do the failures look like?

@ethomson
Copy link
Copy Markdown
Member Author

@tkelman We used to download newer mingw-w64's and overwrite /mingw with them. I don't know why. I'm trying to make sure that we download the newer mingw-w64's and then run them from a neutral place.

@ethomson
Copy link
Copy Markdown
Member Author

Sorry, I realize I didn't answer your question. The error was with moving our mingw into /mingw; it failed with a permissions problem, which seems pretty reasonable, to be honest.

@ethomson ethomson changed the title appveyor: use bundled mingw appveyor: don't rewrite the system mingw Feb 24, 2017
@tkelman
Copy link
Copy Markdown
Contributor

tkelman commented Feb 24, 2017

so it does, guess that was good enough at the time and avoided needing to modify path. appveyor may have changed permissions or what's installed by default?

Comment thread appveyor.yml
branches:
only:
- master
- appveyor
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should build pr's if the webhook is configured right, there may have just been a delivery failure?

I think without a regex this would need to be an exact match anyway

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - that's correct; there was just a weird webhook failure here. But it encouraged me to add the appveyor branch so that we could build appveyor in isolation and not burn unnecessary travis builds.

@ethomson
Copy link
Copy Markdown
Member Author

so it does, guess that was good enough at the time and avoided needing to modify path. appveyor may have changed permissions or what's installed by default?

Yes, that's right - AppVeyor updated its mingw installation, and I think changed permissions then, which is why we noticed this.

Download mingw-w64 into our build directory and execute it there, don't
try to overwrite the system's mingw.
@ethomson ethomson merged commit 7143145 into master Feb 25, 2017
@pks-t
Copy link
Copy Markdown
Member

pks-t commented Feb 27, 2017

Is it even reasonable to always re-download MinGW? Shouldn't we just be using whatever AppVeyor is currently providing?

@ethomson
Copy link
Copy Markdown
Member Author

AppVeyor only provides the 32 bit mingw-w64. There's an issue to provide the x86_64 version as well. Once they do, I think we should reconsider using the installed versions.

@tkelman
Copy link
Copy Markdown
Contributor

tkelman commented Feb 27, 2017

the download should be cached here

@pks-t
Copy link
Copy Markdown
Member

pks-t commented Feb 27, 2017

Ah okay, that explains it. Thanks!

@ethomson ethomson deleted the ethomson/appveyor branch January 9, 2019 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants