1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-15 12:16:40 +08:00

Utilities/Release: Add docker spec for STGZ package on Linux

The spec added by commit facc240a45 (Utilities/Release: Add docker specs
to build and test Linux binaries, 2019-08-23) generates only the TGZ
package, but the old `Utilities/Release/linux64_release.cmake` script
also generated a STGZ package.
This commit is contained in:
Brad King
2019-08-29 13:01:57 -04:00
parent 4929453504
commit 2c95c35c51
2 changed files with 3 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ may use to produce Linux binaries for CMake:
-f cmake-src/Utilities/Release/linux/$arch/Dockerfile cmake-src
$ docker container create --name cmake-build cmake:build
$ docker cp cmake-build:/out .
$ ls out/cmake-*-Linux-$arch.tar.gz
$ ls out/cmake-*-Linux-$arch.*
* ``linux/<arch>/test/Dockerfile``:
Produces a base image with a test environment for packaged CMake binaries.

View File

@@ -29,7 +29,8 @@ RUN : \
bin/ctest --output-on-failure -j 8 -R '^(CMake\.|CMakeLib\.|CMakeServerLib\.|RunCMake\.ctest_memcheck)'; \
fi \
&& bin/cpack -G TGZ \
&& bin/cpack -G STGZ \
&& set +x \
&& mkdir /out \
&& mv cmake-*-Linux-x86_64.tar.gz /out \
&& mv cmake-*-Linux-x86_64.* /out \
&& :