Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
25b2b67f
Commit
25b2b67f
authored
Nov 03, 2016
by
Jan Möbius
Browse files
Mac cpp11 CI
parent
75c42b38
Pipeline
#3476
failed
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
25b2b67f
...
...
@@ -45,3 +45,11 @@ VS2013-Qt-5.5.1-x64:
artifacts
:
paths
:
-
rel/*.exe
Mac-C++11
:
script
:
"
CI/ci-mac.sh"
tags
:
-
Apple
artifacts
:
paths
:
build-release/*.dmg
CI/ci-mac.sh
0 → 100644
View file @
25b2b67f
########################################
# Fetch submodules
########################################
git submodule init
git submodule update
--remote
########################################
# Fetch test data
########################################
rm
-rf
TestData
git clone git@roosevelt:moebius/OpenFlipper-Test-Data.git TestData
########################################
# Build
########################################
if
[
!
-d
build-release
]
;
then
mkdir
build-release
fi
cd
build-release
# Build without ports to avoid qt4 collision
/opt/local/bin/cmake ../
-DCMAKE_CXX_FLAGS
=
'-std=c++11'
-DQWT6_INCLUDE_DIR
=
/Users/jenkins/sw/qwt-6.1.2-Qt5-installed/lib/qwt.framework/Headers
-DQWT6_LIBRARY
=
/Users/jenkins/sw/qwt-6.1.2-Qt5-installed/lib/qwt.framework
-DQT5_INSTALL_PATH
=
/Qt/Qt5.5.1/5.5/clang_64
-DGLEW_INCLUDE_DIR
=
/Users/jenkins/sw/glew-1.10.0-installed/include/
-DGLEW_LIBRARY
=
/Users/jenkins/sw/glew-1.10.0-installed/lib/libGLEW.dylib
make
# Required for the tests to build, if a package was generated
make fixbundle
########################################
# Test
########################################
# Run tests
cd
tests
bash run_tests.sh
cd
..
########################################
# Doc
########################################
make doc
>>
../Doxygen-warning.log 2> ../Doxygen-error.log
########################################
# Package
########################################
rm
-f
*
.dmg
make OpenFlipper_package
mv
*
.dmg OpenFlipper-Free-GIT-
$CI_BUILD_REF
-QT5
.5.1-CPP11.dmg
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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