aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.travis
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-12-10 15:35:10 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-12-10 16:45:48 +0300
commitebd9daaca4210f21ff0f911dc5bdc208b4646ac2 (patch)
treed36b9c45aa2c8dbe8215dae66c549871b8ecd6b7 /.travis
parentutils: add install rules (diff)
downloadaes-tools-ebd9daaca4210f21ff0f911dc5bdc208b4646ac2.tar.gz
aes-tools-ebd9daaca4210f21ff0f911dc5bdc208b4646ac2.zip
AppVeyor/Travis: switch to cmake/build
Diffstat (limited to '.travis')
-rw-r--r--.travis/.gitattributes1
-rwxr-xr-x.travis/build.sh22
-rwxr-xr-x.travis/build_boost.sh35
3 files changed, 0 insertions, 58 deletions
diff --git a/.travis/.gitattributes b/.travis/.gitattributes
deleted file mode 100644
index dfdb8b7..0000000
--- a/.travis/.gitattributes
+++ /dev/null
@@ -1 +0,0 @@
-*.sh text eol=lf
diff --git a/.travis/build.sh b/.travis/build.sh
deleted file mode 100755
index 902d23a..0000000
--- a/.travis/build.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env bash
-
-set -o errexit -o nounset -o pipefail -o xtrace
-
-readonly boost_fs="boost_${boost_version//\./_}"
-
-readonly boost_dir="$HOME/$boost_fs"
-readonly boost_librarydir="$boost_dir/stage/$arch/$build_type/lib"
-
-cd -- "$HOME"
-mkdir -- cmake
-cd -- cmake/
-
-cmake \
- -D "CMAKE_BUILD_TYPE=$build_type" \
- -D "CMAKE_TOOLCHAIN_FILE=$TRAVIS_BUILD_DIR/cmake/toolchains/mingw-w64-$arch.cmake" \
- -D "BOOST_ROOT=$boost_dir" \
- -D "BOOST_LIBRARYDIR=$boost_librarydir" \
- -D CMAKE_SYSTEM_NAME=Windows \
- "$TRAVIS_BUILD_DIR"
-
-cmake --build . -- -j
diff --git a/.travis/build_boost.sh b/.travis/build_boost.sh
deleted file mode 100755
index 9efb832..0000000
--- a/.travis/build_boost.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env bash
-
-set -o errexit -o nounset -o pipefail -o xtrace
-
-readonly boost_fs="boost_${boost_version//\./_}"
-readonly boost_url=https://dl.bintray.com/boostorg/release/$boost_version/source/$boost_fs.tar.gz
-
-cd -- "$HOME/"
-
-wget -- "$boost_url"
-tar xzvf "$boost_fs.tar.gz" > /dev/null
-cd -- "$boost_fs/"
-./bootstrap.sh
-
-compiler_prefix=i686
-[ "$arch" = x64 ] && compiler_prefix=x86_64
-
-readonly cxx="$compiler_prefix-w64-mingw32-g++"
-
-echo "using gcc : : $cxx ;" > "user-config-$arch.jam"
-
-address_model=32
-[ "$arch" = x64 ] && address_model=64
-
-./b2 \
- toolset=gcc \
- "address-model=$address_model" \
- target-os=windows \
- link=static \
- variant="$build_type" \
- "--stagedir=stage/$arch/$build_type" \
- "--user-config=user-config-$arch.jam" \
- --with-filesystem \
- --with-program_options \
- --with-system