mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-06 16:56:42 +08:00
Sped up the AppVeyor build.
Current AppVeyor images with VC2015 don't have Cygwin pre-installed, so each row in the build matrix installs it before running the build. This takes about 7-8 minutes per row. This change combines all the VC testing into one row, so the price of installing Cygwin is paid only once. A secondary improvement is that individual rows don't have to wait in the AppVeyor queue. Builds now take a total of about 15 minutes, instead of approximately an hour, including queueing time. This change should probably be undone once there is an AppVeyor image that comes with both VC2015 and Cygwin. The main AppVeyor image has VC up to 2013 and Cygwin, so I suppose VC2015 and Cygwin will be available once a final version of VC2015 is released. Until then, Better Enums does not have the benefit of separate rows in the AppVeyor build matrix.
This commit is contained in:
parent
89a1c1a64b
commit
124c09f2f0
@ -20,9 +20,10 @@ command tests it in all configurations that your compiler supports.
|
|||||||
|
|
||||||
Once your pull request is submitted, the [AppVeyor][appveyor] and
|
Once your pull request is submitted, the [AppVeyor][appveyor] and
|
||||||
[Travis][travis] web services will automatically test it on many versions of
|
[Travis][travis] web services will automatically test it on many versions of
|
||||||
GCC, Clang, and Visual C++. This takes about an hour, unfortunately, but if I am
|
GCC, Clang, and Visual C++. If you have more than one compiler installed
|
||||||
around, I might download your patch and give you results much sooner. I have
|
locally, you can run either the `unix` or `ms` target in `test/Makefile` to test
|
||||||
most of the compilers installed locally on test machines.
|
on a specific compiler. Open the `Makefile` file and find the targets for
|
||||||
|
instructions.
|
||||||
|
|
||||||
The `make` targets mentioned above depend on the following software:
|
The `make` targets mentioned above depend on the following software:
|
||||||
|
|
||||||
|
|||||||
16
appveyor.yml
16
appveyor.yml
@ -10,17 +10,6 @@ shallow_clone: true
|
|||||||
|
|
||||||
os: Visual Studio 2015 RC
|
os: Visual Studio 2015 RC
|
||||||
|
|
||||||
environment:
|
|
||||||
matrix:
|
|
||||||
- title: vc2015
|
|
||||||
compiler: Visual Studio 14 2015
|
|
||||||
- title: vc2013
|
|
||||||
compiler: Visual Studio 12 2013
|
|
||||||
- title: vc2012
|
|
||||||
compiler: Visual Studio 11 2012
|
|
||||||
- title: vc2010
|
|
||||||
compiler: Visual Studio 10 2010
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- choco -y install cyg-get
|
- choco -y install cyg-get
|
||||||
- cyg-get make
|
- cyg-get make
|
||||||
@ -31,4 +20,7 @@ build_script:
|
|||||||
- set PATH=%PATH%;C:\projects\better-enums\cxxtest\bin;C:\tools\cygwin\bin
|
- set PATH=%PATH%;C:\projects\better-enums\cxxtest\bin;C:\tools\cygwin\bin
|
||||||
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
|
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
|
||||||
- cd test
|
- cd test
|
||||||
- make TITLE=%title% COMPILER="%compiler%" ms
|
- make TITLE=vc2015 COMPILER="Visual Studio 14 2015" ms
|
||||||
|
- make TITLE=vc2013 COMPILER="Visual Studio 12 2013" ms
|
||||||
|
- make TITLE=vc2012 COMPILER="Visual Studio 11 2012" ms
|
||||||
|
- make TITLE=vc2010 COMPILER="Visual Studio 10 2010" ms
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user