@@ -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
|
||||
|
||||
Reference in New Issue
Block a user