Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenMesh
OpenMesh
Commits
146109f6
Commit
146109f6
authored
Nov 11, 2015
by
Jan Möbius
Browse files
Merge branch 'gitlab-ci-mac' into 'master'
Gitlab ci mac See merge request
!18
parents
87a4e1f6
f9a945e1
Pipeline
#12
failed with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
146109f6
gcc-c++11
:
script
:
"
CI/ci-linux.sh
gcc
C++11"
tags
:
-
Linux
clang-c++11
:
script
:
"
CI/ci-linux.sh
clang
C++11"
tags
:
-
Linux
gcc-c++98
:
script
:
"
CI/ci-linux.sh
gcc
C++98"
tags
:
-
Linux
clang-c++98
:
script
:
"
CI/ci-linux.sh
clang
C++98"
tags
:
-
Linux
macos
:
script
:
"
CI/ci-mac.sh"
tags
:
-
Apple
CI/ci-linux.sh
View file @
146109f6
...
...
@@ -3,8 +3,6 @@
COMPILER
=
$1
LANGUAGE
=
$2
#!/bin/bash
OPTIONS
=
""
if
[
"
$COMPILER
"
==
"gcc"
]
;
then
...
...
CI/ci-mac.sh
0 → 100755
View file @
146109f6
#!/bin/bash
PATH
=
$PATH
:/opt/local/bin
export
PATH
#########################################
# Build release version
#########################################
if
[
!
-d
build-release
]
;
then
mkdir
build-release
fi
cd
build-release
cmake
-DCMAKE_BUILD_TYPE
=
Release
-DOPENMESH_BUILD_UNIT_TESTS
=
TRUE ../
#build it
make
#build the unit tests
make unittests
#########################################
# Run Release Unittests
#########################################
cd
Unittests
#execute tests
./unittests
--gtest_color
=
yes
--gtest_output
=
xml
cd
..
cd
..
#########################################
# Build Debug version and Unittests
#########################################
if
[
!
-d
build-debug
]
;
then
mkdir
build-debug
fi
cd
build-debug
cmake
-DCMAKE_BUILD_TYPE
=
Debug
-DOPENMESH_BUILD_UNIT_TESTS
=
TRUE ../
#build the unit tests
make unittests
#########################################
# Run Debug Unittests
#########################################
cd
Unittests
# Run the unittests
./unittests
--gtest_color
=
yes
--gtest_output
=
xml
Write
Preview
Supports
Markdown
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