diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-28 15:38:31 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-28 15:39:55 +0300 |
commit | c616d030eacf6850fe9bab9ef298ccb74534e5c0 (patch) | |
tree | 8604b9f4114d58814653f7d2e7e157f6b23d6492 /README.md | |
parent | v2.1 (diff) | |
download | cmake-common-c616d030eacf6850fe9bab9ef298ccb74534e5c0.tar.gz cmake-common-c616d030eacf6850fe9bab9ef298ccb74534e5c0.zip |
add docs/ci.md
Diffstat (limited to '')
-rw-r--r-- | README.md | 47 |
1 files changed, 3 insertions, 44 deletions
@@ -117,50 +117,9 @@ parameters from environment variables. | Build path | `$TRAVIS_BUILD_DIR/../build/cmake` | `%APPVEYOR_BUILD_FOLDER%\..\build\cmake` | `$GITHUB_WORKSPACE/../build/cmake` | Install path | `$TRAVIS_BUILD_DIR/../build/install` | `%APPVEYOR_BUILD_FOLDER%\..\build\install` | `$GITHUB_WORKSPACE/../build/install` -For example, the following Travis workflow: - -``` -language: cpp -os: linux -dist: focal - -env: - global: - BOOST_VERSION: 1.65.0 - jobs: - - CONFIGURATION=Debug PLATFORM=x64 - - CONFIGURATION=Release PLATFORM=x64 - -before_script: ci-boost -- --with-filesystem -script: ci-cmake --install -``` - -is roughly equivalent to running - -``` -boost-download --cache "$TRAVIS_BUILD_DIR/../build" -- 1.65.0 -mv -- \ - "$TRAVIS_BUILD_DIR/../build/boost_1_65_0" \ - "$TRAVIS_BUILD_DIR/../build/boost" - -boost-build \ - --platform x64 \ - --configuration Debug Release \ - -- \ - "$TRAVIS_BUILD_DIR/../build/boost" \ - --with-filesystem - -for configuration in Debug Release; do - 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 -``` + +For an example of how to integrate `ci-boost` and `ci-cmake` into a CI +workflow, see [docs/ci.md](docs/ci.md). Tools ----- |