Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nightlies
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
nightlies
Commits
39b8b59a
There was a problem fetching the pipeline summary.
Commit
39b8b59a
authored
8 years ago
by
Tiago de Freitas Pereira
Browse files
Options
Downloads
Patches
Plain Diff
Testing new ci
parent
a60d6965
No related branches found
No related tags found
1 merge request
!2
Ci2
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+22
-104
22 additions, 104 deletions
.gitlab-ci.yml
ci/build.sh
+1
-1
1 addition, 1 deletion
ci/build.sh
with
23 additions
and
105 deletions
.gitlab-ci.yml
+
22
−
104
View file @
39b8b59a
# This build file is defined in two parts: 1) a generic set of instructions you
# This build file heavily uses template features from YAML so it is generic
# probably **don't** need to change and 2) a part you may have to tune to your
# enough for any Bob project. Don't modify it unless you know what you're
# project. It heavily uses template features from YAML to help you in only
# doing.
# changing a minimal part of it and avoid code duplication to a maximum while
# still providing a nice pipeline display on your package.
# 1) Generic instructions (only change if you know what you're doing)
# -------------------------------------------------------------------
# Definition of our build pipeline
# Definition of our build pipeline
stages
:
stages
:
-
build-bob
-
buildbob
# Global variables
variables
:
CONDA_PREFIX
:
env
# ---------
# Templates
# ---------
# Template for the build stage
# Template for the build stage
# Needs to run on all supported architectures, platforms and python versions
# Needs to run on all supported architectures, platforms and python versions
.build_
bob
:
&build_job
.build_
template
:
&build_job
stage
:
build
-
bob
stage
:
buildbob
before_script
:
before_script
:
-
git clean -ffdx
-
git clean -ffdx
-
chmod 755 ci/install.sh
-
chmod 755 ci/install.sh
-
./ci/install.sh ci
#updates
-
./ci/install.sh ci
#updates
-
./ci/before_build.sh
0
-
./ci/before_build.sh
0
script
:
script
:
-
./ci/build.sh
-
./ci/build.sh
buildout-bob.cfg
after_script
:
after_script
:
-
./ci/after_build.sh
-
./ci/after_build.sh
artifacts
:
artifacts
:
expire_in
:
1
day
expire_in
:
1
week
paths
:
paths
:
-
dist/
-
dist/
# Template for building on a Linux machine
# -------------
.build_linux_template
:
&linux_build_job
# Build Targets
<<
:
*build_job
# -------------
variables
:
&linux_build_variables
<<
:
*build_variables
CONDA_FOLDER
:
"
/local/conda"
CFLAGS
:
"
-D_GLIBCXX_USE_CXX11_ABI=0
-coverage"
CXXFLAGS
:
"
-D_GLIBCXX_USE_CXX11_ABI=0
-coverage"
# Template for building on a Mac OSX machine
.build_mac_template
:
&macosx_build_job
<<
:
*build_job
variables
:
&macosx_build_variables
<<
:
*build_variables
CONDA_FOLDER
:
"
/opt/conda"
MACOSX_DEPLOYMENT_TARGET
:
"
10.9"
CFLAGS
:
"
-pthread
-coverage"
CXXFLAGS
:
"
-pthread
-coverage"
LDFLAGS
:
"
-lpthread"
# Linux + Python 2.7: Builds, tests, uploads wheel and deploys (if needed)
# 2) Package specific instructions (you may tune this if needed)
# --------------------------------------------------------------
# Linux + Python 2.7: Builds and tests
build_linux_27
:
build_linux_27
:
<<
:
*
linux_
build_job
<<
:
*build_job
variables
:
&linux_27_build_variables
variables
:
&linux_27_build_variables
<<
:
*linux_build_variables
PYTHON_VERSION
:
"
2.7"
PYTHON_VER
:
"
2.7"
WHEEL_TAG
:
"
py27"
tags
:
tags
:
-
conda-linux
-
conda-linux
# Linux + Python 3.4: Builds and tests
build_linux_34
:
<<
:
*linux_build_job
variables
:
&linux_34_build_variables
<<
:
*linux_build_variables
PYTHON_VER
:
"
3.4"
WHEEL_TAG
:
"
py3"
tags
:
-
conda-linux
# Linux + Python 3.5: Builds and tests
build_linux_35
:
<<
:
*linux_build_job
variables
:
&linux_35_build_variables
<<
:
*linux_build_variables
PYTHON_VER
:
"
3.5"
WHEEL_TAG
:
"
py3"
tags
:
-
conda-linux
# Mac OSX + Python 2.7: Builds, tests and uploads the wheel
build_macosx_27
:
<<
:
*macosx_build_job
variables
:
&macosx_27_build_variables
<<
:
*macosx_build_variables
PYTHON_VER
:
"
2.7"
WHEEL_TAG
:
"
py27"
tags
:
-
conda-macosx
# Mac OSX + Python 3.4: Builds and tests
build_macosx_34
:
<<
:
*macosx_build_job
variables
:
&macosx_34_build_variables
<<
:
*macosx_build_variables
PYTHON_VER
:
"
3.4"
WHEEL_TAG
:
"
py3"
tags
:
-
conda-macosx
# Mac OSX + Python 3.5: Builds, tests, uploads the wheel and the latest docs
build_macosx_35
:
<<
:
*macosx_build_job
variables
:
&macosx_35_build_variables
<<
:
*macosx_build_variables
PYTHON_VER
:
"
3.5"
WHEEL_TAG
:
"
py3"
tags
:
-
conda-macosx
This diff is collapsed.
Click to expand it.
ci/build.sh
+
1
−
1
View file @
39b8b59a
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
source
$(
dirname
${
0
}
)
/functions.sh
source
$(
dirname
${
0
}
)
/functions.sh
run_cmd ./bin/buildout
run_cmd ./bin/buildout
-c
${
1
}
if
[
-x
./bin/bob_dbmanage.py
]
;
then
if
[
-x
./bin/bob_dbmanage.py
]
;
then
run_cmd ./bin/bob_dbmanage.py all download
--force
;
run_cmd ./bin/bob_dbmanage.py all download
--force
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment