Commit baeec43f authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'CI-Sources' into 'master'

Ci sources

See merge request !173
parents 89633936 0f286ba4
stages:
- build
- deploy
gcc-c++11: gcc-c++11:
stage: build
script: "CI/ci-linux.sh gcc C++11" script: "CI/ci-linux.sh gcc C++11"
tags: tags:
- Linux - Linux
clang-c++11: clang-c++11:
stage: build
script: "CI/ci-linux.sh clang C++11" script: "CI/ci-linux.sh clang C++11"
tags: tags:
- Linux - Linux
gcc-c++14: gcc-c++14:
stage: build
script: "CI/ci-linux.sh gcc C++14" script: "CI/ci-linux.sh gcc C++14"
tags: tags:
- Linux - Linux
clang-c++14: clang-c++14:
stage: build
script: "CI/ci-linux.sh clang C++14" script: "CI/ci-linux.sh clang C++14"
tags: tags:
- Linux - Linux
macos-c++11: macos-c++11:
stage: build
script: "CI/ci-mac.sh C++11" script: "CI/ci-mac.sh C++11"
tags: tags:
- Apple - Apple
...@@ -28,6 +37,7 @@ macos-c++11: ...@@ -28,6 +37,7 @@ macos-c++11:
- build-release-cpp11/*.tar.gz - build-release-cpp11/*.tar.gz
macos-c++98: macos-c++98:
stage: build
script: "CI/ci-mac.sh C++14" script: "CI/ci-mac.sh C++14"
tags: tags:
- Apple - Apple
...@@ -37,6 +47,7 @@ macos-c++98: ...@@ -37,6 +47,7 @@ macos-c++98:
- build-release-cpp14/*.tar.gz - build-release-cpp14/*.tar.gz
cppcheck: cppcheck:
stage: build
script: "CI/ci-cppcheck.sh" script: "CI/ci-cppcheck.sh"
tags: tags:
- Linux - Linux
...@@ -45,6 +56,7 @@ cppcheck: ...@@ -45,6 +56,7 @@ cppcheck:
- cppcheck.log - cppcheck.log
VS2017-64-bit-shared-apps: VS2017-64-bit-shared-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2017" BUILD_PLATFORM: "VS2017"
ARCHITECTURE: "x64" ARCHITECTURE: "x64"
...@@ -59,6 +71,7 @@ VS2017-64-bit-shared-apps: ...@@ -59,6 +71,7 @@ VS2017-64-bit-shared-apps:
- build-release/*.exe - build-release/*.exe
VS2017-64-bit-static-apps: VS2017-64-bit-static-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2017" BUILD_PLATFORM: "VS2017"
ARCHITECTURE: "x64" ARCHITECTURE: "x64"
...@@ -74,6 +87,7 @@ VS2017-64-bit-static-apps: ...@@ -74,6 +87,7 @@ VS2017-64-bit-static-apps:
VS2017-64-bit-shared-no-apps: VS2017-64-bit-shared-no-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2017" BUILD_PLATFORM: "VS2017"
ARCHITECTURE: "x64" ARCHITECTURE: "x64"
...@@ -88,6 +102,7 @@ VS2017-64-bit-shared-no-apps: ...@@ -88,6 +102,7 @@ VS2017-64-bit-shared-no-apps:
VS2017-32-bit-shared-no-apps: VS2017-32-bit-shared-no-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2017" BUILD_PLATFORM: "VS2017"
ARCHITECTURE: "x32" ARCHITECTURE: "x32"
...@@ -102,6 +117,7 @@ VS2017-32-bit-shared-no-apps: ...@@ -102,6 +117,7 @@ VS2017-32-bit-shared-no-apps:
VS2017-64-bit-static-no-apps: VS2017-64-bit-static-no-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2017" BUILD_PLATFORM: "VS2017"
ARCHITECTURE: "x64" ARCHITECTURE: "x64"
...@@ -116,6 +132,7 @@ VS2017-64-bit-static-no-apps: ...@@ -116,6 +132,7 @@ VS2017-64-bit-static-no-apps:
VS2017-32-bit-static-no-apps: VS2017-32-bit-static-no-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2017" BUILD_PLATFORM: "VS2017"
ARCHITECTURE: "x32" ARCHITECTURE: "x32"
...@@ -129,6 +146,7 @@ VS2017-32-bit-static-no-apps: ...@@ -129,6 +146,7 @@ VS2017-32-bit-static-no-apps:
- build-release/*.exe - build-release/*.exe
VS2015-64-bit-shared-apps: VS2015-64-bit-shared-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2015" BUILD_PLATFORM: "VS2015"
ARCHITECTURE: "x64" ARCHITECTURE: "x64"
...@@ -143,6 +161,7 @@ VS2015-64-bit-shared-apps: ...@@ -143,6 +161,7 @@ VS2015-64-bit-shared-apps:
VS2015-64-bit-shared-no-apps: VS2015-64-bit-shared-no-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2015" BUILD_PLATFORM: "VS2015"
ARCHITECTURE: "x64" ARCHITECTURE: "x64"
...@@ -156,6 +175,7 @@ VS2015-64-bit-shared-no-apps: ...@@ -156,6 +175,7 @@ VS2015-64-bit-shared-no-apps:
- build-release/*.exe - build-release/*.exe
VS2015-32-bit-shared-apps: VS2015-32-bit-shared-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2015" BUILD_PLATFORM: "VS2015"
ARCHITECTURE: "x32" ARCHITECTURE: "x32"
...@@ -169,6 +189,7 @@ VS2015-32-bit-shared-apps: ...@@ -169,6 +189,7 @@ VS2015-32-bit-shared-apps:
- build-release/*.exe - build-release/*.exe
VS2015-32-bit-shared-no-apps: VS2015-32-bit-shared-no-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2015" BUILD_PLATFORM: "VS2015"
ARCHITECTURE: "x32" ARCHITECTURE: "x32"
...@@ -182,6 +203,7 @@ VS2015-32-bit-shared-no-apps: ...@@ -182,6 +203,7 @@ VS2015-32-bit-shared-no-apps:
- build-release/*.exe - build-release/*.exe
VS2015-64-bit-static-apps: VS2015-64-bit-static-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2015" BUILD_PLATFORM: "VS2015"
ARCHITECTURE: "x64" ARCHITECTURE: "x64"
...@@ -195,6 +217,7 @@ VS2015-64-bit-static-apps: ...@@ -195,6 +217,7 @@ VS2015-64-bit-static-apps:
- build-release/*.exe - build-release/*.exe
VS2015-64-bit-static-no-apps: VS2015-64-bit-static-no-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2015" BUILD_PLATFORM: "VS2015"
ARCHITECTURE: "x64" ARCHITECTURE: "x64"
...@@ -208,6 +231,7 @@ VS2015-64-bit-static-no-apps: ...@@ -208,6 +231,7 @@ VS2015-64-bit-static-no-apps:
- build-release/*.exe - build-release/*.exe
VS2015-32-bit-static-apps: VS2015-32-bit-static-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2015" BUILD_PLATFORM: "VS2015"
ARCHITECTURE: "x32" ARCHITECTURE: "x32"
...@@ -221,6 +245,7 @@ VS2015-32-bit-static-apps: ...@@ -221,6 +245,7 @@ VS2015-32-bit-static-apps:
- build-release/*.exe - build-release/*.exe
VS2015-32-bit-static-no-apps: VS2015-32-bit-static-no-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2015" BUILD_PLATFORM: "VS2015"
ARCHITECTURE: "x32" ARCHITECTURE: "x32"
...@@ -236,6 +261,7 @@ VS2015-32-bit-static-no-apps: ...@@ -236,6 +261,7 @@ VS2015-32-bit-static-no-apps:
VS2013-64-bit-shared-apps: VS2013-64-bit-shared-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2013" BUILD_PLATFORM: "VS2013"
ARCHITECTURE: "x64" ARCHITECTURE: "x64"
...@@ -249,6 +275,7 @@ VS2013-64-bit-shared-apps: ...@@ -249,6 +275,7 @@ VS2013-64-bit-shared-apps:
- build-release/*.exe - build-release/*.exe
VS2013-64-bit-shared-no-apps: VS2013-64-bit-shared-no-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2013" BUILD_PLATFORM: "VS2013"
ARCHITECTURE: "x64" ARCHITECTURE: "x64"
...@@ -262,6 +289,7 @@ VS2013-64-bit-shared-no-apps: ...@@ -262,6 +289,7 @@ VS2013-64-bit-shared-no-apps:
- build-release/*.exe - build-release/*.exe
VS2013-32-bit-shared-apps: VS2013-32-bit-shared-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2013" BUILD_PLATFORM: "VS2013"
ARCHITECTURE: "x32" ARCHITECTURE: "x32"
...@@ -275,6 +303,7 @@ VS2013-32-bit-shared-apps: ...@@ -275,6 +303,7 @@ VS2013-32-bit-shared-apps:
- build-release/*.exe - build-release/*.exe
VS2013-32-bit-shared-no-apps: VS2013-32-bit-shared-no-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2013" BUILD_PLATFORM: "VS2013"
ARCHITECTURE: "x32" ARCHITECTURE: "x32"
...@@ -288,6 +317,7 @@ VS2013-32-bit-shared-no-apps: ...@@ -288,6 +317,7 @@ VS2013-32-bit-shared-no-apps:
- build-release/*.exe - build-release/*.exe
VS2013-64-bit-static-apps: VS2013-64-bit-static-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2013" BUILD_PLATFORM: "VS2013"
ARCHITECTURE: "x64" ARCHITECTURE: "x64"
...@@ -301,6 +331,7 @@ VS2013-64-bit-static-apps: ...@@ -301,6 +331,7 @@ VS2013-64-bit-static-apps:
- build-release/*.exe - build-release/*.exe
VS2013-64-bit-static-no-apps: VS2013-64-bit-static-no-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2013" BUILD_PLATFORM: "VS2013"
ARCHITECTURE: "x64" ARCHITECTURE: "x64"
...@@ -314,6 +345,7 @@ VS2013-64-bit-static-no-apps: ...@@ -314,6 +345,7 @@ VS2013-64-bit-static-no-apps:
- build-release/*.exe - build-release/*.exe
VS2013-32-bit-static-apps: VS2013-32-bit-static-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2013" BUILD_PLATFORM: "VS2013"
ARCHITECTURE: "x32" ARCHITECTURE: "x32"
...@@ -327,6 +359,7 @@ VS2013-32-bit-static-apps: ...@@ -327,6 +359,7 @@ VS2013-32-bit-static-apps:
- build-release/*.exe - build-release/*.exe
VS2013-32-bit-static-no-apps: VS2013-32-bit-static-no-apps:
stage: build
variables: variables:
BUILD_PLATFORM: "VS2013" BUILD_PLATFORM: "VS2013"
ARCHITECTURE: "x32" ARCHITECTURE: "x32"
...@@ -340,8 +373,21 @@ VS2013-32-bit-static-no-apps: ...@@ -340,8 +373,21 @@ VS2013-32-bit-static-no-apps:
- build-release/*.exe - build-release/*.exe
Doc-publish: Doc-publish:
stage: deploy
only: only:
- master - master
script: "CI/ci-doc.sh" script: "CI/ci-doc.sh"
tags: tags:
- Linux - Linux
Sources:
stage: deploy
only:
- master
script: "CI/ci-source.sh"
artifacts:
paths:
- OpenMesh*.zip
- OpenMesh*.tar.bz2
- OpenMesh*.tar.gz
# This script just creates compressed files of OpenMesh sources
# Create Build directory and Build documentation
mkdir build-doc
cd build-doc
cmake ..
make doc
cd ..
# Extract Version Information
VERSION=OpenMesh-$(cat VERSION | grep VERSION | tr -d "VERSION=")
# Create Publishing directory
mkdir $VERSION
# Move all files into Publishing directory
mv CHANGELOG.md $VERSION/
mv cmake $VERSION/
mv CMakeLists.txt $VERSION/
mv debian $VERSION/
mv Doc $VERSION/
mv LICENSE $VERSION/
mv README.md $VERSION/
mv src $VERSION/
mv VERSION $VERSION/
mv build-doc/Build/share/OpenMesh/Doc/html/ $VERSION/Documentation
tar cjf $VERSION.tar.bz2 $VERSION
tar czf $VERSION.tar.gz $VERSION
zip -9 -q -r $VERSION.zip $VERSION
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment