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
OpenFlipper-Free
OpenFlipper-Free
Commits
ef1720cb
Commit
ef1720cb
authored
Dec 08, 2016
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
.gitlab-ci.yml
.gitlab-ci.yml
+10
-2
OpenFlipper/CI/ci-linux.sh
OpenFlipper/CI/ci-linux.sh
+4
-3
No files found.
.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
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