Travis ccache

This commit is contained in:
pokamest 2022-09-05 01:38:29 +03:00
parent ce27af6083
commit e1c529ab91
2 changed files with 15 additions and 1 deletions

View file

@ -77,6 +77,7 @@ jobs:
aqt install-qt windows desktop $QT_VERSION win64_msvc2019_64 -m all -O /C/Qt && \
aqt install-tool windows desktop tools_ifw -O /C/Qt ; \
fi
- choco install ccache
script:
- echo set BUILD_ARCH=$BUILD_ARCH > winbuild.bat
@ -87,6 +88,9 @@ jobs:
- echo call deploy\\build_windows.bat >> winbuild.bat
- cmd //c winbuild.bat
after_script:
- ccache --show-stats
deploy:
provider: releases
token: $GH_TOKEN
@ -128,6 +132,7 @@ jobs:
aqt install-qt windows desktop $QT_VERSION win32_msvc2019 -m all -O /C/Qt && \
aqt install-tool windows desktop tools_ifw -O /C/Qt ; \
fi
- choco install ccache
script:
- echo set BUILD_ARCH=$BUILD_ARCH > winbuild.bat
@ -138,6 +143,9 @@ jobs:
- echo call deploy\\build_windows.bat >> winbuild.bat
- cmd //c winbuild.bat
after_script:
- ccache --show-stats
deploy:
provider: releases
token: $GH_TOKEN

View file

@ -3,6 +3,12 @@ QT += widgets core gui network xml remoteobjects quick svg
TARGET = AmneziaVPN
TEMPLATE = app
# silent builds on CI env
contains(DEFINES,CI){
message("Detected CI env")
CONFIG += silent ccache
}
CONFIG += qtquickcompiler
CONFIG += qzxing_multimedia \
enable_decoder_qr_code \