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
ef1720cb
Commit
ef1720cb
authored
Dec 08, 2016
by
Jan Möbius
Browse files
Pass variables to CI scripts via environment variableswq
parent
82796ade
Pipeline
#3856
passed with stage
in 74 minutes and 45 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ef1720cb
gcc-c++11-Qt5
:
script
:
"
OpenFlipper/CI/ci-linux.sh
gcc
C++11
QT5"
variables
:
COMPILER
:
"
gcc"
LANGUAGE
:
"
C++11"
QTVERSION
:
"
QT5"
script
:
"
OpenFlipper/CI/ci-linux.sh"
tags
:
-
Linux
clang-c++11-Qt5
:
script
:
"
OpenFlipper/CI/ci-linux.sh
clang
C++11
QT5"
variables
:
COMPILER
:
"
clang"
LANGUAGE
:
"
C++11"
QTVERSION
:
"
QT5"
script
:
"
OpenFlipper/CI/ci-linux.sh"
tags
:
-
Linux
-
MultiThreads
...
...
OpenFlipper/CI/ci-linux.sh
View file @
ef1720cb
...
...
@@ -3,9 +3,10 @@
# Script abort on error
set
-e
COMPILER
=
$1
LANGUAGE
=
$2
QTVERSION
=
$3
# Expected Settings via environment variables:
# COMPILER= gcc/clang
# LANGUAGE= C++98 / C++11
# QTVERSION= QT4/QT5
OPTIONS
=
""
MAKE_OPTIONS
=
""
...
...
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