diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-30 12:54:03 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-04-05 20:46:58 +0300 |
commit | 842779a131ac4bda3c1386f3c50bce4c39134dcc (patch) | |
tree | 9d45705219ddd6da7634e1535804ad21a73d7e17 /.travis/Dockerfile | |
parent | add some unit tests (diff) | |
download | winapi-debug-842779a131ac4bda3c1386f3c50bce4c39134dcc.tar.gz winapi-debug-842779a131ac4bda3c1386f3c50bce4c39134dcc.zip |
update cmake-common
Diffstat (limited to '')
-rw-r--r-- | .travis/Dockerfile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/.travis/Dockerfile b/.travis/Dockerfile index d17d54f..28f1ab5 100644 --- a/.travis/Dockerfile +++ b/.travis/Dockerfile @@ -15,33 +15,30 @@ RUN apt-get update -yq && \ make \ mingw-w64 -ARG travis_boost_version=1.65.0 +ARG boost_version=1.65.0 ARG platform=x86 ARG configuration=Debug # We're on Travis, that's right. -ENV TRAVIS=1 ENV TRAVIS_BUILD_DIR=/usr/src COPY ["cmake", "$TRAVIS_BUILD_DIR/cmake"] WORKDIR "$TRAVIS_BUILD_DIR" -RUN ./cmake/boost/build/ci/travis.py \ - --link static \ +RUN cd cmake && \ + python3 -m project.ci.travis.boost \ + --mingw \ -- \ - --user-config="$TRAVIS_BUILD_DIR/cmake/boost/toolchains/mingw-w64-$platform.jam" \ --with-filesystem \ --with-program_options \ --with-test COPY [".", "$TRAVIS_BUILD_DIR"] -RUN ./cmake/cmake/build/ci/travis.py \ +RUN cd cmake && \ + python3 -m project.ci.travis.cmake \ --install /opt/pdb-repo \ - -- \ - -D "CMAKE_TOOLCHAIN_FILE=$TRAVIS_BUILD_DIR/cmake/cmake/toolchains/mingw-w64-$platform.cmake" \ - -D "BOOST_ROOT=$HOME/boost" \ - -D "BOOST_LIBRARYDIR=$HOME/boost/stage/$platform/$configuration/lib" + --mingw FROM base |