Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CLASS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
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
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
sens
CLASS
Commits
5da23038
Commit
5da23038
authored
7 years ago
by
BaM
Browse files
Options
Downloads
Patches
Plain Diff
better
parent
612f2d2d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+23
-51
23 additions, 51 deletions
.gitlab-ci.yml
with
23 additions
and
51 deletions
.gitlab-ci.yml
+
23
−
51
View file @
5da23038
version
:
2
image
:
rootproject/root-ubuntu16:6.10
before_script
:
-
rapt-get -qq update; apt-get -y install git openssh-client
-
vcheckout
-
./install clean-build
jobs
:
#
# Test Jobs
# Build Cyclus
# unit_test:
build
:
# docker:
docker
:
# - image: rootproject/root-ubuntu16
-
image
:
rootproject/root-ubuntu16
# working_directory: ~/CLASS
working_directory
:
~/CLASS
# steps:
steps
:
# - run:
# Ensure your image has git (required by git to clone via SSH) so that CircleCI can clone your repo
# name: save SHA to a file
-
run
:
apt-get -qq update; apt-get -y install git openssh-client
# command: echo $CIRCLE_SHA1 > .circle-sha
-
checkout
# - restore_cache:
-
run
:
# keys:
name
:
Build Docker Image
# - v1-repo-{{ checksum ".circle-sha" }}
command
:
|
# - run:
./install clean-build
# name: Unit Test
-
run
:
# command: ./install gtest; exit $?
name
:
save SHA to a file
#
command
:
echo $CIRCLE_SHA1 > .circle-sha
#
-
save_cache
:
key
:
v1-repo-{{ checksum ".circle-sha" }}
paths
:
-
/root
# Test Jobs
unit_test
:
docker
:
-
image
:
rootproject/root-ubuntu16
working_directory
:
~/CLASS
steps
:
-
run
:
name
:
save SHA to a file
command
:
echo $CIRCLE_SHA1 > .circle-sha
-
restore_cache
:
keys
:
-
v1-repo-{{ checksum ".circle-sha" }}
-
run
:
name
:
Unit Test
command
:
./install gtest; exit $?
workflows
:
version
:
2
#Needed ?? (already on the top of the file)
build_and_test
:
jobs
:
# On a PR // All Branch
-
build
-
unit_test
:
requires
:
-
build
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