diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-24 16:10:25 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-24 16:10:25 +0300 |
commit | 5426988308cadf2f0f48396c6e21401cbad21c65 (patch) | |
tree | 9bf4e686a455453d07255e76b9f33334654640e8 | |
parent | project.ci: change build directory (diff) | |
download | cmake-common-5426988308cadf2f0f48396c6e21401cbad21c65.tar.gz cmake-common-5426988308cadf2f0f48396c6e21401cbad21c65.zip |
README: actualize
-rw-r--r-- | README.md | 41 |
1 files changed, 21 insertions, 20 deletions
@@ -115,32 +115,33 @@ before_script: python3 -m project.ci.boost -- --with-filesystem script: python3 -m project.ci.cmake --install ``` -is equivalent to running +is roughly equivalent to running ``` -python3 -m project.boost.download --unpack "$HOME" -- 1.65.0 -mv -- "$HOME/boost_1_65_0" "$HOME/boost" - -python3 -m project.boost.build \ - --platform x64 \ - --configuration Debug \ - -- \ - "$HOME/boost" \ +python3 -m project.boost.download --cache "$TRAVIS_BUILD_DIR/../build" -- 1.65.0 +mv -- \ + "$TRAVIS_BUILD_DIR/../build/boost_1_65_0" \ + "$TRAVIS_BUILD_DIR/../build/boost" + +python3 -m project.boost.build \ + --platform x64 \ + --configuration Debug Release \ + -- \ + "$TRAVIS_BUILD_DIR/../build/boost" \ --with-filesystem -python3 -m project.cmake.build \ - --platform x64 \ - --configuration Debug \ - --boost "$HOME/boost" \ - --build "$HOME/build" \ - --install "$HOME/install" \ - -- \ - "$TRAVIS_BUILD_DIR" +for configuration in Debug Release; do + python3 -m project.cmake.build \ + --platform x64 \ + --configuration "$configuration" \ + --boost "$TRAVIS_BUILD_DIR/../build/boost" \ + --build "$TRAVIS_BUILD_DIR/../build/cmake" \ + --install "$TRAVIS_BUILD_DIR/../build/install" \ + -- \ + "$TRAVIS_BUILD_DIR" +done ``` -twice (the `--configuration` parameter having the value of `Release` for the -second run). - ### clang-format.py `clang-format` all C/C++ files in a project. |