Cached Generation
ci / checks (push) Successful in 2h36m35s

This commit is contained in:
khodowany
2026-09-20 10:39:12 -05:00
parent 7244cebe68
commit 68ded4d8c8
8 changed files with 322 additions and 16 deletions
+13
View File
@@ -102,8 +102,21 @@ jobs:
run: |
python3 -m pip install --no-cache-dir -r build/build_tools/docker/format-requirements.txt
python3 modulus.py format --check
- name: Restore engraving cache
id: engraving-cache
uses: actions/cache/restore@v4
with:
path: build/build_common/engraving-cache
key: product-vamp-pages-v1-${{ runner.os }}-${{ hashFiles('generator/engraving/*.py', 'generator/model.py', 'generator/harmony.py', 'generator/requirements.txt', 'package/assets/fonts/petaluma/*') }}-${{ hashFiles('data/**/*.xml', 'data/*.xml') }}
restore-keys: product-vamp-pages-v1-${{ runner.os }}-${{ hashFiles('generator/engraving/*.py', 'generator/model.py', 'generator/harmony.py', 'generator/requirements.txt', 'package/assets/fonts/petaluma/*') }}-
- name: Build native release
run: python3 modulus.py build --target x86_64_gcc12_release
- name: Save engraving cache
if: steps.engraving-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
with:
path: build/build_common/engraving-cache
key: ${{ steps.engraving-cache.outputs.cache-primary-key }}
- name: Test native release
run: python3 modulus.py test --target x86_64_gcc12_release
- name: Test asset generation