mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
Add ccache
This commit is contained in:
parent
cdc479476c
commit
cf2dc78f63
@ -3,6 +3,7 @@ MAINTAINER Matthias Kuhn <matthias@opengis.ch>
|
||||
|
||||
RUN dnf -y install \
|
||||
bison \
|
||||
ccache \
|
||||
clang \
|
||||
clazy \
|
||||
exiv2-devel \
|
||||
|
@ -3,9 +3,10 @@
|
||||
mkdir /usr/src/qgis/build
|
||||
cd /usr/src/qgis/build || exit -1
|
||||
|
||||
ccache -S
|
||||
|
||||
cmake -GNinja \
|
||||
-DUSE_CCACHE=OFF \
|
||||
-DUSE_CCACHE=ON \
|
||||
-DWITH_QUICK=ON \
|
||||
-DWITH_3D=ON \
|
||||
-DWITH_STAGED_PLUGINS=ON \
|
||||
@ -31,5 +32,6 @@ cmake -GNinja \
|
||||
-DWERROR=TRUE \
|
||||
..
|
||||
|
||||
|
||||
ninja
|
||||
|
||||
ccache -S
|
||||
|
10
.github/workflows/qt5_14.yml
vendored
10
.github/workflows/qt5_14.yml
vendored
@ -21,6 +21,14 @@ jobs:
|
||||
run: |
|
||||
docker build -t qgis_build_deps -f .ci/qt5_14/Dockerfile .
|
||||
|
||||
|
||||
- name: Cache
|
||||
id: cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: qt514
|
||||
|
||||
- name: Run build
|
||||
run: |
|
||||
docker run -v $(pwd):/usr/src/qgis qgis_build_deps /usr/src/qgis/.ci/qt5_14/build.sh
|
||||
docker run -v ~/.ccache:/root/ccache -v $(pwd):/usr/src/qgis qgis_build_deps /usr/src/qgis/.ci/qt5_14/build.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user