mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 21:45:54 +08:00
try to fix orca_deps cache miss
This commit is contained in:
parent
50b7c9fca1
commit
ad4725342a
@ -138,26 +138,31 @@ modules:
|
|||||||
|
|
||||||
- name: orca_deps
|
- name: orca_deps
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
|
build-options:
|
||||||
|
env:
|
||||||
|
# Keep downloads in a persistent location
|
||||||
|
DEP_DOWNLOAD_DIR: /app/external-packages
|
||||||
build-commands:
|
build-commands:
|
||||||
# start build
|
# start build
|
||||||
- |
|
- |
|
||||||
mkdir deps/build && cd deps/build
|
mkdir deps/build && cd deps/build
|
||||||
cmake ../ \
|
cmake ../ \
|
||||||
-DDEP_WX_GTK3=ON \
|
-DDEP_WX_GTK3=ON \
|
||||||
-DDEP_DOWNLOAD_DIR=/run/build/orca_deps/external-packages \
|
-DDEP_DOWNLOAD_DIR=/app/external-packages \
|
||||||
-DCMAKE_PREFIX_PATH=/app \
|
-DCMAKE_PREFIX_PATH=/app \
|
||||||
-DDESTDIR=/app \
|
-DDESTDIR=/app \
|
||||||
-DCMAKE_INSTALL_LIBDIR=/app/lib \
|
-DCMAKE_INSTALL_LIBDIR=/app/lib \
|
||||||
-DFLATPAK=ON \
|
-DFLATPAK=ON \
|
||||||
-DCMAKE_INSTALL_PREFIX=/app
|
-DCMAKE_INSTALL_PREFIX=/app
|
||||||
cmake --build .
|
cmake --build .
|
||||||
rm -r /run/build/orca_deps/external-packages
|
# Don't remove external-packages
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
- /app/include
|
- /app/include
|
||||||
- "*.a"
|
- "*.a"
|
||||||
- "*.la"
|
- "*.la"
|
||||||
- /app/lib/cmake
|
- /app/lib/cmake
|
||||||
|
- /app/external-packages # Clean up after build instead
|
||||||
|
|
||||||
sources:
|
sources:
|
||||||
# -
|
# -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user