22 lines
1.1 KiB
YAML
22 lines
1.1 KiB
YAML
generate-visualization:
|
|
stage: Dependencies
|
|
extends:
|
|
- .appimage_base
|
|
rules:
|
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
|
when: never
|
|
- when: always
|
|
before_script:
|
|
- pip install -r requirements.txt
|
|
- pip install graphviz
|
|
- git clone https://invent.kde.org/packaging/krita-ci-utilities.git --depth=1 ci-utilities
|
|
- git config --global --add safe.directory $CI_PROJECT_DIR
|
|
script:
|
|
- LD_LIBRARY_PATH= python3 -u tools/concatenate-files.py -i latest/deps-build-tools.yml -i latest/krita-deps.yml -o all-deps-to-build.yml
|
|
- LD_LIBRARY_PATH= python3 -u tools/generate-graphvis-file.py --branch master --seed-file all-deps-to-build.yml -o deps_all.png
|
|
- LD_LIBRARY_PATH= python3 -u tools/generate-graphvis-file.py --branch master --seed-file all-deps-to-build.yml -s ext_qt ext_patch -o deps_no-qt-and-patch.png
|
|
- LD_LIBRARY_PATH= python3 -u tools/generate-graphvis-file.py --branch master --seed-file all-deps-to-build.yml -d ext_qt -s ext_patch -o deps_qt.png
|
|
artifacts:
|
|
expire_in: 4 week
|
|
paths:
|
|
- ./deps_*.png
|