Remove variant
This commit is contained in:
-32
@@ -1,32 +0,0 @@
|
||||
@ECHO OFF
|
||||
SETLOCAL
|
||||
|
||||
SET PATH=c:\python27;%PATH%
|
||||
|
||||
ECHO activating VS command prompt
|
||||
IF /I "%PLATFORM"=="x64" (
|
||||
CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
||||
) ELSE (
|
||||
CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
|
||||
)
|
||||
|
||||
IF NOT EXIST deps\gyp git clone --depth 1 https://chromium.googlesource.com/external/gyp.git deps/gyp
|
||||
|
||||
CALL deps\gyp\gyp.bat variant.gyp --depth=. ^
|
||||
-f msvs ^
|
||||
-G msvs_version=2015 ^
|
||||
--generator-output=build
|
||||
|
||||
SET MSBUILD_PLATFORM=%platform%
|
||||
IF /I "%MSBUILD_PLATFORM%" == "x86" SET MSBUILD_PLATFORM=Win32
|
||||
|
||||
|
||||
msbuild ^
|
||||
build\variant.sln ^
|
||||
/nologo ^
|
||||
/toolsversion:14.0 ^
|
||||
/p:PlatformToolset=v140 ^
|
||||
/p:Configuration=%configuration% ^
|
||||
/p:Platform=%MSBUILD_PLATFORM%
|
||||
|
||||
build\"%configuration%"\tests.exe
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
@ECHO OFF
|
||||
SETLOCAL
|
||||
|
||||
SET platform=x64
|
||||
SET configuration=Release
|
||||
|
||||
CALL scripts\build-appveyor.bat
|
||||
Vendored
-59
@@ -1,59 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e -u
|
||||
set -o pipefail
|
||||
|
||||
# ppa for latest boost
|
||||
sudo add-apt-repository -y ppa:boost-latest/ppa
|
||||
# ppa for g++ 4.7 and 4.8
|
||||
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||
sudo apt-get update -y
|
||||
|
||||
# install boost headers and g++ upgrades
|
||||
sudo apt-get -y -qq install boost1.55 gcc-4.8 g++-4.8 gcc-4.7 g++-4.7
|
||||
|
||||
if [[ "$CXX" == "clang++" ]]; then
|
||||
echo 'running tests against clang++'
|
||||
make test
|
||||
make bench
|
||||
make clean
|
||||
else
|
||||
# run tests against g++ 4.7
|
||||
export CXX="g++-4.7"; export CC="gcc-4.7"
|
||||
echo 'running tests against g++ 4.7'
|
||||
make test
|
||||
make bench
|
||||
make clean
|
||||
|
||||
# run tests against g++ 4.8
|
||||
export CXX="g++-4.8"; export CC="gcc-4.8"
|
||||
echo 'running tests against g++ 4.8'
|
||||
make test
|
||||
make bench
|
||||
make clean
|
||||
|
||||
fi
|
||||
|
||||
# compare object sizes against boost::variant
|
||||
echo 'comparing object sizes to boost::variant'
|
||||
make sizes /usr/include/boost/variant.hpp
|
||||
make clean
|
||||
|
||||
# test building with gyp
|
||||
echo 'testing build with gyp'
|
||||
make gyp
|
||||
|
||||
# run coverage when using clang++
|
||||
if [[ $CXX == "clang++" ]]; then
|
||||
make clean
|
||||
make coverage
|
||||
git status
|
||||
./out/cov-test
|
||||
cp unit*gc* test/
|
||||
sudo pip install cpp-coveralls
|
||||
coveralls -i variant.hpp -i recursive_wrapper.hpp --gcov-options '\-lp'
|
||||
fi
|
||||
|
||||
# set strictness back to normal
|
||||
# to avoid tripping up travis
|
||||
set +e +u
|
||||
Vendored
-20
@@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e -u
|
||||
set -o pipefail
|
||||
|
||||
# install boost headers
|
||||
brew unlink boost
|
||||
brew install boost
|
||||
|
||||
# run tests
|
||||
make test
|
||||
make bench
|
||||
make clean
|
||||
|
||||
# compare object sizes against boost::variant
|
||||
make sizes `brew --prefix`/include/boost/variant.hpp
|
||||
make clean
|
||||
|
||||
# test building with gyp
|
||||
make gyp
|
||||
Reference in New Issue
Block a user