Enable ccache for Bitbucket Pipelines.
--HG-- branch : develop
This commit is contained in:
parent
e8804c90bb
commit
fa18e3b0d3
|
@ -7,6 +7,8 @@ pipelines:
|
|||
branches:
|
||||
develop:
|
||||
- step:
|
||||
caches:
|
||||
ccache
|
||||
script:
|
||||
- cat /etc/*-release
|
||||
- uname -a
|
||||
|
@ -15,8 +17,11 @@ pipelines:
|
|||
- mkdir build
|
||||
- cd build
|
||||
- qmake --version
|
||||
- qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings
|
||||
- qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=checkWarnings
|
||||
- make -j$(nproc)
|
||||
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/opt/atlassian/bitbucketci/agent/build/build/src/libs/vpropertyexplorer/bin:/opt/atlassian/bitbucketci/agent/build/build/src/libs/qmuparser/bin"
|
||||
# QTestLib require GUI support for some tests
|
||||
- xvfb-run -a make --silent check TESTARGS="-silent"
|
||||
definitions:
|
||||
caches:
|
||||
ccache: $HOME/.ccache
|
||||
|
|
1
dist/docker/Dockerfile
vendored
1
dist/docker/Dockerfile
vendored
|
@ -18,6 +18,7 @@ RUN apt-get update && apt-get install -y \
|
|||
libqt5xml5 \
|
||||
libqt5xmlpatterns5 \
|
||||
xpdf \
|
||||
ccache \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Whatever you need more than what is on the base image required by your project
|
||||
|
|
Loading…
Reference in New Issue
Block a user