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
6d6b0268
Commit
6d6b0268
authored
Nov 11, 2015
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First version for mac gitlab-ci integration
parent
87a4e1f6
Pipeline
#5
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
0 deletions
+66
-0
.gitlab-ci.yml
.gitlab-ci.yml
+2
-0
CI/ci-mac.sh
CI/ci-mac.sh
+64
-0
No files found.
.gitlab-ci.yml
View file @
6d6b0268
...
...
@@ -10,3 +10,5 @@ gcc-c++98:
clang-c++98
:
script
:
"
CI/ci-linux.sh
clang
C++98"
macos
:
script
:
"
CI/ci-mac.sh"
CI/ci-mac.sh
0 → 100755
View file @
6d6b0268
#!/bin/bash
if
[
$(
uname
)
==
Darwin
]
;
then
PATH
=
$PATH
:/opt/local/bin
export
PATH
fi
#########################################
# 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
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