From b288d43d7eb229ac68fbbe10bba1e58d359ee4e7 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Thu, 12 Oct 2017 22:51:32 +0100 Subject: Add basic travis file --- clean-build.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'clean-build.sh') diff --git a/clean-build.sh b/clean-build.sh index d037403..5b2fd26 100755 --- a/clean-build.sh +++ b/clean-build.sh @@ -1,17 +1,12 @@ #!/bin/sh echo "Cleaning..." -rm -r cmake-build-release/*; rm -r cmake-build-debug/* - -echo "Installing..." -cd cmake-build-debug; conan install .. --build missing -s compiler=gcc \ - -s compiler.version=6.3 -s compiler.libcxx=libstdc++11; cd .. -cd cmake-build-release; conan install .. --build missing -s compiler=gcc \ - -s compiler.version=6.3 -s compiler.libcxx=libstdc++11; cd .. +rm -rf cmake-build-debug; mkdir cmake-build-debug; +rm -rf cmake-build-release; mkdir cmake-build-release; echo "Generating build..." -cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG --target solitaire_pip -Bcmake-build-debug -H. -cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE --target solitaire_pip -Bcmake-build-release -H. +cmake -G "CodeBlocks - Unix Makefiles" -D CMAKE_CXX_COMPILER=g++-6 -DCMAKE_BUILD_TYPE=DEBUG --target solvitaire -Bcmake-build-debug -H. +cmake -G "CodeBlocks - Unix Makefiles" -D CMAKE_CXX_COMPILER=g++-6 -DCMAKE_BUILD_TYPE=RELEASE --target solvitaire -Bcmake-build-release -H. echo "Building..." cmake --build cmake-build-debug -- cgit v1.2.1