Attempt to add caches from gitlab runners

This commit is contained in:
Manuel Cortez 2021-12-15 12:55:42 -06:00
parent 7cf935e3b2
commit d12a934280
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -4,6 +4,12 @@
variables: variables:
PYTHON3_32: "C:\\python37\\python.exe" PYTHON3_32: "C:\\python37\\python.exe"
NSIS: "C:\\program files (x86)\\nsis\\makensis.exe" NSIS: "C:\\program files (x86)\\nsis\\makensis.exe"
PIP_CACHE_DIR: "$CI_PROJECT_DIR\\.cache\\pip"
cache:
paths:
- ".cache"
- "C:\\python37-32\\lib\\site-packages"
# The project defines 3 stages: # The project defines 3 stages:
# 1. Generate_docs: generates the documentation and update translation files. This uses the python docker image. # 1. Generate_docs: generates the documentation and update translation files. This uses the python docker image.
@ -38,6 +44,11 @@ pages:
stage: generate_docs stage: generate_docs
image: python image: python
interruptible: true interruptible: true
cache:
paths:
- "C:\\Users\\gitlab_runner\\AppData\\Local\\Nuitka\\Nuitka\\Cache"
- ".cache"
- "C:\\python37-32\\lib\\site-packages"
script: script:
- echo "started by ${GITLAB_USER_NAME}" - echo "started by ${GITLAB_USER_NAME}"
- python -V - python -V