Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gaudi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Gaudi
Gaudi
Commits
b6b6e4c3
Commit
b6b6e4c3
authored
7 years ago
by
Marco Clemencic
Browse files
Options
Downloads
Patches
Plain Diff
Share ccache between CI builds
parent
85978a69
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!319
Improve Gitlab-CI configuration and deploy Doxygen to EOSWEB
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+8
-2
8 additions, 2 deletions
.gitlab-ci.yml
with
8 additions
and
2 deletions
.gitlab-ci.yml
+
8
−
2
View file @
b6b6e4c3
...
...
@@ -5,18 +5,24 @@ before_script:
-
export LCG_hostos=x86_64-slc6
-
export PATH=/cvmfs/lhcb.cern.ch/lib/lhcb/LBSCRIPTS/dev/InstallArea/scripts:${PATH}
-
export CMAKE_PREFIX_PATH=/cvmfs/sft.cern.ch/lcg/releases:/cvmfs/projects.cern.ch/intelsw/psxe/linux/x86_64/2017/vtune_amplifier_xe
-
export CCACHE_DIR=${PWD}/.ccache
build
:
image
:
lhcbdev/slc6-build-cvmfs:latest
stage
:
build
script
:
-
curl -o artifacts.zip --location ${CI_PROJECT_URL}/builds/artifacts/master/download?job=build
-
unzip -q artifacts.zip '.ccache/*' ||
true
-
/cvmfs/sft.cern.ch/lcg/releases/ccache/3.3.4-e92e5/${BINARY_TAG}/bin/ccache -z
-
echo 'set(CMAKE_USE_CCACHE ON CACHE BOOL "")' >> cache_preload.cmake
-
make
-
/cvmfs/sft.cern.ch/lcg/releases/ccache/3.3.4-e92e5/${BINARY_TAG}/bin/ccache -s
-
mv build.${BINARY_TAG} build
artifacts
:
paths
:
-
build/
expire_in
:
1 day
-
build
-
.ccache
expire_in
:
1 week
doxygen
:
image
:
lhcbdev/slc6-build-cvmfs:latest
...
...
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