Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dorie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
31
Issues
31
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
dorie
dorie
Commits
db121559
Commit
db121559
authored
Mar 16, 2018
by
Lukas Riedel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add per-brach per-job caches to build jobs
parent
8296d83e
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
.gitlab-ci.yml
.gitlab-ci.yml
+12
-1
No files found.
.gitlab-ci.yml
View file @
db121559
...
...
@@ -24,6 +24,10 @@ build:main:
$DUNECONTROL --only=dorie all
-
MAKE_FLAGS="$MAKE_FLAGS"
$DUNECONTROL --only=dorie make build_tests
cache
:
key
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths
:
-
$CI_PROJECT_DIR/build-cmake
artifacts
:
name
:
"
$CI_JOB_NAME"
paths
:
...
...
@@ -36,12 +40,15 @@ build:update_dune:
-
master
script
:
-
$DUNECONTROL update
-
$DUNECONTROL exec "rm -rf build-cmake"
-
CMAKE_FLAGS="$CMAKE_FLAGS"
MAKE_FLAGS="$MAKE_FLAGS"
$DUNECONTROL --module=dorie all
-
MAKE_FLAGS="$MAKE_FLAGS"
$DUNECONTROL --only=dorie make build_tests
cache
:
key
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths
:
-
$CI_PROJECT_DIR/build-cmake
artifacts
:
name
:
"
$CI_JOB_NAME"
paths
:
...
...
@@ -60,6 +67,10 @@ build:debug:
$DUNECONTROL --only=dorie all
-
MAKE_FLAGS="$MAKE_FLAGS"
$DUNECONTROL --only=dorie make build_tests
cache
:
key
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths
:
-
$CI_PROJECT_DIR/build-cmake
test:exec_cmds:
stage
:
test
...
...
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