diff options
author | Pierre Ossman <ossman@cendio.se> | 2020-07-16 13:35:43 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2020-07-16 15:34:08 +0200 |
commit | 0b1d57be3764319041cb2d9349c827e5e7db4120 (patch) | |
tree | 15fc6427bbc580f309ee28b66c9135dad6fa0de1 | |
parent | 3f0f8474c536d859ac7b0be76bc6d88e8f8b10ad (diff) | |
download | tigervnc-0b1d57be3764319041cb2d9349c827e5e7db4120.tar.gz tigervnc-0b1d57be3764319041cb2d9349c827e5e7db4120.zip |
Test packaging on Travis
Don't just build things, also test the various packaging.
-rw-r--r-- | .travis.yml | 7 | ||||
-rw-r--r-- | release/CMakeLists.txt (renamed from cmake/BuildPackages.cmake) | 0 |
2 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index b245d5ed..39174364 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ matrix: - sudo apt-get install -y libgnutls-dev libfltk1.3-dev fluid - sudo apt-get install -y libxtst-dev libxdamage-dev libxfixes-dev libxrandr-dev script: - - cmake -DCMAKE_BUILD_TYPE=Debug . && make + - cmake -DCMAKE_BUILD_TYPE=Debug . && make && make tarball - language: cpp os: windows @@ -22,6 +22,7 @@ matrix: # From https://docs.travis-ci.com/user/reference/windows/ before_install: - |- + choco install --no-progress -y innosetup [[ ! -f C:/tools/msys64/msys2_shell.cmd ]] && rm -rf C:/tools/msys64 choco uninstall -y mingw choco upgrade --no-progress -y msys2 @@ -36,7 +37,7 @@ matrix: export PATH=/C/tools/msys64/mingw64/bin:$PATH export MAKE=mingw32-make # so that Autotools can find it script: - - cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_C_COMPILER=gcc -DCMAKE=CXX_COMPILER=g++ . && mingw32-make + - cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_C_COMPILER=gcc -DCMAKE=CXX_COMPILER=g++ . && mingw32-make && mingw32-make installer before_cache: - |- # https://unix.stackexchange.com/a/137322/107554 @@ -58,7 +59,7 @@ matrix: - fltk before_install: script: - - cmake -DCMAKE_BUILD_TYPE=Debug . && make + - cmake -DCMAKE_BUILD_TYPE=Debug . && make && make dmg - language: java # compile with java 8 for backwards compatibility diff --git a/cmake/BuildPackages.cmake b/release/CMakeLists.txt index 1f251929..1f251929 100644 --- a/cmake/BuildPackages.cmake +++ b/release/CMakeLists.txt |