The Linux builds have been failing for a while due to an image
configuration issue, and seemingly no one at AppVeyor has noticed:
W: GPG error: https://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32EE5355A6BC6E42
E: The repository 'https://dl.google.com/linux/chrome/deb stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
FIXME: This is a bad hack and probably won't work for the PPA builds.
Need to add an override for AmiiboData to specify where to find the
amiibo-data.bin file for unit tests.
The matrix configuration wasn't working right, and I'm not sure how
to get it working with the addition of Ubuntu, so don't use it for
now.
The only downside is we won't be able to test MinGW-w64 builds, which
isn't that big of a deal since MinGW-w64 isn't a target platform at
the moment. (No support for isolation-aware contexts.)
NOTE: Re-enable VS2015 after testing this.
This caused it to build four configurations:
- Image: VS2015, Environment: image=VS2015
- Image: VS2015, Environment: image=Ubuntu
- Image: Ubuntu, Environment: image=VS2015
- Image: Ubuntu, Environment: image=Ubuntu
Obviously some of these don't make any sense.
MinGW-w64 v5 was missing _mkgmtime() and related functions in the
32-bit build: https://sourceforge.net/p/mingw-w64/bugs/473/
I'm not sure what version AppVeyor is using, but considerig I'm
hitting this problem, I suspect it's v5.
I'm not sure if the artifacts section in appveyor.yml requires the
artifact to be present in every build, so let's manually push the
artifact in MSVC Release builds only.
This uses a new matrix configuration with platform, configuration,
and compiler. Note that we're only testing debug builds with MinGW-w64
for now.
Notes:
- git has to be removed from the path. Otherwise, cmake thinks that it's
running from a UNIX shell, which requires MSYS Makefiles.
- Reference: https://help.appveyor.com/discussions/problems/3193-cmake-building-for-mingw-issue-with-git-shexe
- Note that git is 64-bit in AppVeyor now, and sh is in usr/bin/. I'm
checking for all four configurations.
- Build in a build/ subdirectory in all configurations.
- MSVC configurations are temporarily disabled so we can fix all MinGW-w64
issues without having to wait for the MSVC builds to finish.
- The VS2013 image has MinGW-w64 x86_64 7.2.0, not 8.1.0.
The AppVeyor documentation is incorrect.
www.nasm.us is offline right now, so it's causing AppVeyor to fail.
nasm was only needed for libjpeg-turbo, and since we no longer include
a copy of libjpeg-turbo, we don't need nasm.