From dfbedf7aa3366fa3b8799a43755c783565e22537 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 13 Dec 2019 05:44:37 +0300 Subject: Travis: switch to boost/build.py --- .travis.yml | 7 ++++--- appveyor.yml | 2 +- client/Dockerfile | 12 ++++++------ cmake | 2 +- server/Dockerfile | 12 ++++++------ 5 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index b1f6b8c..f79910c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,15 +18,16 @@ env: - configuration=Release platform=x64 before_script: - - ./cmake/build/boost/build_travis.sh --with-filesystem --with-program_options --with-test + - ./cmake/ci/boost/build_travis.py --with filesystem program_options test --link=static script: - |- - ./cmake/build/build_travis.py \ + ./cmake/ci/build_travis.py \ --configuration "$configuration" \ --install "$HOME/install" \ --toolchain ./cmake/toolchains/gcc-$platform.cmake \ --boost "$HOME/boost_1_71_0" \ --boost-librarydir "$HOME/boost_1_71_0/stage/$platform/${configuration,,}/lib" \ - -- -DENABLE_TESTS=ON + -- \ + -DENABLE_TESTS=ON - "$HOME/install/bin/math-server-unit-tests" diff --git a/appveyor.yml b/appveyor.yml index 6e0bbc6..7cc488c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,7 +20,7 @@ install: - git submodule update --init --recursive build_script: - - '"%python_exe%" cmake\build\build_appveyor.py --install "%install_dir%" --boost "%appveyor_boost_root%" --boost-librarydir "%appveyor_boost_librarydir%" -- -DENABLE_TESTS=ON' + - '"%python_exe%" cmake\ci\build_appveyor.py --install "%install_dir%" --boost "%appveyor_boost_root%" --boost-librarydir "%appveyor_boost_librarydir%" -- -DENABLE_TESTS=ON' after_build: - 7z.exe a "math-server-%PLATFORM%-%CONFIGURATION%.zip" "%install_dir%" diff --git a/client/Dockerfile b/client/Dockerfile index 2bbc81a..44b20ec 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -21,12 +21,12 @@ ENV src_dir=/usr/src/app COPY [".", "$src_dir"] -RUN "$src_dir/cmake/build/build.py" \ - --src "$src_dir" \ - --install /usr/local \ - --clean \ - --configuration Release \ - -- -DENABLE_TESTS=ON \ +RUN "$src_dir/cmake/ci/build.py" \ + --src "$src_dir" \ + --install /usr/local \ + --clean \ + --configuration Release \ + -- -DENABLE_TESTS=ON \ && /usr/local/bin/math-server-unit-tests --log_level=all ENTRYPOINT ["/usr/local/bin/math-client"] diff --git a/cmake b/cmake index 847c49d..b00ae22 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 847c49dd01f984ac10e195569b49c7f1bdf33335 +Subproject commit b00ae22060acf80467e981d6138aa14de897785d diff --git a/server/Dockerfile b/server/Dockerfile index 322c07f..f5248ae 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -21,12 +21,12 @@ ENV src_dir=/usr/src/app COPY [".", "$src_dir"] -RUN "$src_dir/cmake/build/build.py" \ - --src "$src_dir" \ - --install /usr/local \ - --clean \ - --configuration Release \ - -- -DENABLE_TESTS=ON \ +RUN "$src_dir/cmake/ci/build.py" \ + --src "$src_dir" \ + --install /usr/local \ + --clean \ + --configuration Release \ + -- -DENABLE_TESTS=ON \ && /usr/local/bin/math-server-unit-tests --log_level=all CMD ["/usr/local/bin/math-server"] -- cgit v1.2.3