Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenMesh
OpenMesh
Commits
bb6642a8
Commit
bb6642a8
authored
Dec 03, 2015
by
Jan Möbius
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Color output
parent
601c9389
Pipeline
#234
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
34 deletions
+61
-34
CI/ci-linux.sh
CI/ci-linux.sh
+30
-17
CI/ci-mac.sh
CI/ci-mac.sh
+31
-17
No files found.
CI/ci-linux.sh
View file @
bb6642a8
...
...
@@ -28,12 +28,19 @@ elif [ "$LANGUAGE" == "C++11" ]; then
BUILDPATH
=
"
$BUILDPATH
-cpp11"
fi
#=====================================
# Color Settings:
#=====================================
NC
=
'\033[0m'
OUTPUT
=
'\033[0;32m'
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Building Release version with vectorchecks enabled"
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
if
[
!
-d
build-release-
$BUILDPATH
-Vector-Checks
]
;
then
...
...
@@ -50,12 +57,12 @@ make
#build the unit tests
make unittests
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Running unittests Release version with vectorchecks enabled"
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
cd
Unittests
...
...
@@ -65,11 +72,12 @@ cd Unittests
cd
..
cd
..
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Building Release version with vectorchecks disabled for python tests"
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
if
[
!
-d
build-release-
$BUILDPATH
]
;
then
mkdir
build-release-
$BUILDPATH
...
...
@@ -82,11 +90,12 @@ cmake -DCMAKE_BUILD_TYPE=Release -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=ON -DBUILD_A
#build it
make
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Running Python unittests Release version "
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
# Execute Python unittests
...
...
@@ -99,11 +108,12 @@ cd ..
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Building Debug version with vectorchecks enabled"
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
if
[
!
-d
build-debug-
$BUILDPATH
-Vector-Checks
]
;
then
...
...
@@ -120,11 +130,12 @@ make
#build the unit tests
make unittests
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Running unittests Debug version with vectorchecks enabled"
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
cd
Unittests
...
...
@@ -135,11 +146,12 @@ cd Unittests
cd
..
cd
..
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Building Debug version with vectorchecks disabled for python tests"
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
if
[
!
-d
build-debug-
$BUILDPATH
]
;
then
mkdir
build-debug-
$BUILDPATH
...
...
@@ -152,11 +164,12 @@ cmake -DCMAKE_BUILD_TYPE=DEBUG -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=ON -DBUILD_APP
#build it
make
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Running Python unittests Debug version "
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
# Execute Python unittests
...
...
CI/ci-mac.sh
View file @
bb6642a8
...
...
@@ -5,6 +5,7 @@ set -e
LANGUAGE
=
$1
PATH
=
$PATH
:/opt/local/bin
export
PATH
...
...
@@ -19,12 +20,19 @@ elif [ "$LANGUAGE" == "C++11" ]; then
BUILDPATH
=
"
$BUILDPATH
-cpp11"
fi
#=====================================
# Color Settings:
#=====================================
NC
=
'\033[0m'
OUTPUT
=
'\033[0;32m'
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Building Release version with vectorchecks enabled"
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
if
[
!
-d
build-release-
$BUILDPATH
-Vector-Checks
]
;
then
...
...
@@ -41,12 +49,12 @@ make
#build the unit tests
make unittests
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Running unittests Release version with vectorchecks enabled"
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
cd
Unittests
...
...
@@ -56,11 +64,12 @@ cd Unittests
cd
..
cd
..
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Building Release version with vectorchecks disabled for python tests"
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
if
[
!
-d
build-release-
$BUILDPATH
]
;
then
mkdir
build-release-
$BUILDPATH
...
...
@@ -73,11 +82,12 @@ cmake -DCMAKE_BUILD_TYPE=Release -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=ON -DBUILD_A
#build it
make
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Running Python unittests Release version "
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
# Execute Python unittests
...
...
@@ -92,11 +102,12 @@ cd ..
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Building Debug version with vectorchecks enabled"
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
if
[
!
-d
build-debug-
$BUILDPATH
-Vector-Checks
]
;
then
...
...
@@ -113,11 +124,12 @@ make
#build the unit tests
make unittests
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Running unittests Debug version with vectorchecks enabled"
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
cd
Unittests
...
...
@@ -128,11 +140,12 @@ cd Unittests
cd
..
cd
..
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Building Debug version with vectorchecks disabled for python tests"
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
if
[
!
-d
build-debug-
$BUILDPATH
]
;
then
mkdir
build-debug-
$BUILDPATH
...
...
@@ -145,11 +158,12 @@ cmake -DCMAKE_BUILD_TYPE=DEBUG -DOPENMESH_BUILD_PYTHON_UNIT_TESTS=ON -DBUILD_APP
#build it
make
echo
""
echo
"
${
OUTPUT
}
"
echo
""
echo
"======================================================================"
echo
"Running Python unittests Debug version "
echo
"======================================================================
\n
"
echo
"======================================================================"
echo
"
${
NC
}
"
# Execute Python unittests
...
...
Jan Möbius
@moebius
mentioned in commit
51a8b070
·
Dec 03, 2015
mentioned in commit
51a8b070
mentioned in commit 51a8b070e51a0f4df57953658ed09c642375d6a2
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment