Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor 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
schwede
openstructure
Commits
75c4419c
Commit
75c4419c
authored
8 years ago
by
Bienchen
Browse files
Options
Downloads
Patches
Plain Diff
Uniting stages
parent
76a70872
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-24
7 additions, 24 deletions
.gitlab-ci.yml
with
7 additions
and
24 deletions
.gitlab-ci.yml
+
7
−
24
View file @
75c4419c
...
...
@@ -4,15 +4,8 @@
# by now we only do build and test, we could add another stage "deploy" if
# needed
stages
:
-
build
-
test
cache
:
key
:
"
$CI_BUILD_REF_NAME"
untracked
:
true
paths
:
-
build-ci/
# this is executed before doing anything else
before_script
:
-
echo "Running global 'before_script'..."
...
...
@@ -38,12 +31,12 @@ before_script:
-
echo "... done running global 'before_script'."
# BUILD STAGE
build
:centos6.6
:
stage
:
build
test
:centos6.6
:
stage
:
test
image
:
centos:6.6
script
:
-
echo "
Build
ing on CentOS 6..."
-
rm -fr build-ci/
-
echo "
Test
ing on CentOS 6..."
-
echo " Building OST..."
-
mkdir build-ci
-
cd build-ci
-
cmake .. -DENABLE_MM=1
...
...
@@ -70,18 +63,8 @@ build:centos6.6:
-DTIFF_LIBRARY=$EBROOTLIBTIFF/lib/libtiff.so
-DOPTIMIZE=1
-
make -j
2
-
echo "... done building on CentOS 6."
# TESTS STAGE
test:centos6.6
:
stage
:
test
image
:
centos:6.6
script
:
-
echo "Testing on CentOS 6..."
-
pwd
-
ls .
-
ls ..
-
ls -la /cache
-
cd build-ci/
-
echo " ... done building OST."
-
echo " Running unit tests for OST..."
-
make check
-
echo " ... done running unit tests for OST..."
-
echo "... done testing on CentOS 6."
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