Add inspecting tool and fix CI cache generation

This commit is contained in:
ExPikaPaka
2026-06-16 08:57:33 +02:00
parent 80fbf3b405
commit 83e1712ded
4 changed files with 145 additions and 6 deletions

View File

@@ -305,9 +305,10 @@ jobs:
if: runner.os == 'Windows'
shell: pwsh
run: |
$tool = Get-ChildItem -Recurse -Path build -Filter "generate_system_cache.exe" | Select-Object -First 1
$profiles = Get-ChildItem -Recurse -Path build -Directory -Filter profiles |
Where-Object { $_.FullName -match 'resources' } | Select-Object -First 1
.\build\src\Release\generate_system_cache.exe --path $profiles.FullName --log_level 2
& $tool.FullName --path $profiles.FullName --log_level 2
- name: Create installer Win
if: runner.os == 'Windows' && !vars.SELF_HOSTED
@@ -421,7 +422,8 @@ jobs:
if: runner.os == 'Linux'
shell: bash
run: |
./build/src/Release/generate_system_cache --path build/package/resources/profiles --log_level 2
tool=$(find build -name generate_system_cache -type f | head -1)
"$tool" --path build/package/resources/profiles --log_level 2
# Re-pack the AppImage so the cache is included
appimage=$(find build -maxdepth 1 -name "OrcaSlicer_Linux_AppImage*.AppImage" | head -1)
chmod +x "$appimage"