Included VC2008 in AppVeyor and local testing.

Also reordered compilers so that the very first tested are the ones
that support the most configurations, then immediately followed by
those which are the most likely to fail. Typically, this would be the
oldest ones, or the compiler versions that were the first to support
some major features.
This commit is contained in:
Anton Bachin 2015-07-07 14:54:07 -05:00
parent 6278793a0b
commit 7cfd738c1a
4 changed files with 27 additions and 23 deletions

View File

@ -1,17 +1,17 @@
language: cpp language: cpp
env: env:
- COMPILER="g++-5" PACKAGE="g++-5"
- COMPILER="g++-4.9" PACKAGE="g++-4.9"
- COMPILER="g++-4.8" PACKAGE="g++-4.8"
- COMPILER="g++-4.7" PACKAGE="g++-4.7"
- COMPILER="g++-4.6" PACKAGE="g++-4.6"
- COMPILER="g++-4.5" PACKAGE="g++-4.5"
- COMPILER="g++-4.4" PACKAGE="g++-4.4"
- COMPILER="clang++-3.6" PACKAGE="clang-3.6" - COMPILER="clang++-3.6" PACKAGE="clang-3.6"
- COMPILER="clang++-3.5" PACKAGE="clang-3.5" - COMPILER="g++-5" PACKAGE="g++-5"
- COMPILER="clang++-3.4" PACKAGE="clang-3.4" - COMPILER="g++-4.6" PACKAGE="g++-4.6"
- COMPILER="g++-4.7" PACKAGE="g++-4.7"
- COMPILER="g++-4.4" PACKAGE="g++-4.4"
- COMPILER="g++-4.8" PACKAGE="g++-4.8"
- COMPILER="g++-4.9" PACKAGE="g++-4.9"
- COMPILER="g++-4.5" PACKAGE="g++-4.5"
- COMPILER="clang++-3.3" PACKAGE="clang-3.3" - COMPILER="clang++-3.3" PACKAGE="clang-3.3"
- COMPILER="clang++-3.4" PACKAGE="clang-3.4"
- COMPILER="clang++-3.5" PACKAGE="clang-3.5"
before_script: before_script:
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test - sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test

View File

@ -21,6 +21,7 @@ build_script:
- 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=vc2015 COMPILER="Visual Studio 14 2015" ms - make TITLE=vc2015 COMPILER="Visual Studio 14 2015" ms
- make TITLE=vc2013 COMPILER="Visual Studio 12 2013" ms - make TITLE=vc2008 COMPILER="Visual Studio 9 2008" ms
- make TITLE=vc2012 COMPILER="Visual Studio 11 2012" ms
- make TITLE=vc2010 COMPILER="Visual Studio 10 2010" ms - make TITLE=vc2010 COMPILER="Visual Studio 10 2010" ms
- make TITLE=vc2012 COMPILER="Visual Studio 11 2012" ms
- make TITLE=vc2013 COMPILER="Visual Studio 12 2013" ms

View File

@ -4,7 +4,7 @@ Better Enums aims to support all major compilers. It is known to work on:
- clang 3.3 to 3.6 - clang 3.3 to 3.6
- gcc 4.3 to 5.1 - gcc 4.3 to 5.1
- Visual C++ 2013U4, 2015RC. - Visual C++ 2008 to 2015RC.
The library can be used with any compiler that supports either $cxx11, or $cxx98 The library can be used with any compiler that supports either $cxx11, or $cxx98
with the `__VA_ARGS__` extension. This includes every version of gcc and clang I with the `__VA_ARGS__` extension. This includes every version of gcc and clang I
@ -77,6 +77,7 @@ vc2013 /EHsc
vc2013 /EHsc /DBETTER_ENUMS_STRICT_CONVERSION vc2013 /EHsc /DBETTER_ENUMS_STRICT_CONVERSION
vc2012 /EHsc vc2012 /EHsc
vc2010 /EHsc vc2010 /EHsc
vc2008 /EHsc
clang++36 -std=c++11 clang++36 -std=c++11
clang++36 -std=c++11 -DBETTER_ENUMS_STRICT_CONVERSION clang++36 -std=c++11 -DBETTER_ENUMS_STRICT_CONVERSION
clang++36 -std=c++11 -DBETTER_ENUMS_CONSTEXPR_TO_STRING clang++36 -std=c++11 -DBETTER_ENUMS_CONSTEXPR_TO_STRING

View File

@ -101,8 +101,9 @@ one-configuration : $(CXXTEST_GENERATED)
mkdir -p build/$(TITLE) mkdir -p build/$(TITLE)
cd build/$(TITLE) && cmake $(CMAKE_OPTIONS) ../.. && $(MAKE_COMMAND) cd build/$(TITLE) && cmake $(CMAKE_OPTIONS) ../.. && $(MAKE_COMMAND)
rm -rf build/$(TITLE)/bin rm -rf build/$(TITLE)/bin
ln -s $(OUTPUT_DIRECTORY) build/$(TITLE)/bin [ -f build/$(TITLE)/do-not-test ] || \
[ -f build/$(TITLE)/do-not-test ] || make BIN=build/$(TITLE)/bin run-tests ( ln -s $(OUTPUT_DIRECTORY) build/$(TITLE)/bin && \
make BIN=build/$(TITLE)/bin run-tests )
.PHONY : run-tests .PHONY : run-tests
run-tests : run-tests :
@ -138,22 +139,23 @@ all-configurations :
.PHONY : all-unix .PHONY : all-unix
all-unix : all-unix :
make COMPILER=clang++36 unix make COMPILER=clang++36 unix
make COMPILER=clang++35 unix
make COMPILER=clang++34 unix
make COMPILER=clang++33 unix
make COMPILER=g++51 unix make COMPILER=g++51 unix
make COMPILER=g++49 unix
make COMPILER=g++48 unix
make COMPILER=g++47 unix
make COMPILER=g++46 unix make COMPILER=g++46 unix
make COMPILER=g++45 unix make COMPILER=g++47 unix
make COMPILER=g++44 unix
make COMPILER=g++43 unix make COMPILER=g++43 unix
make COMPILER=g++48 unix
make COMPILER=g++49 unix
make COMPILER=g++44 unix
make COMPILER=g++45 unix
make COMPILER=clang++33 unix
make COMPILER=clang++34 unix
make COMPILER=clang++35 unix
.PHONY : all-ms .PHONY : all-ms
all-ms : all-ms :
make TITLE=vc2013 COMPILER="Visual Studio 12 2013" ms
make TITLE=vc2015 COMPILER="Visual Studio 14 2015" ms make TITLE=vc2015 COMPILER="Visual Studio 14 2015" ms
make TITLE=vc2008 COMPILER="Visual Studio 9 2008" ms
make TITLE=vc2013 COMPILER="Visual Studio 12 2013" ms
$(CXXTEST_GENERATED) : cxxtest/*.h $(CXXTEST_GENERATED) : cxxtest/*.h
$(CXXTESTGEN) --error-printer -o $@ $^ $(CXXTESTGEN) --error-printer -o $@ $^