Browse Source

Add CI-specific resource paths in cura_wasm profile

Include conditional environment-specific paths for resource and materials directories used by the curator. These paths are set when the CI (Continuous Integration) environment variable is detected, ensuring proper resource handling during automated builds.

Contribute to NP-637
NP-637_conan_v2_wasm
Jelle Spijker 1 year ago
parent
commit
75f5bfe970
  1. 4
      profiles/cura_wasm.jinja

4
profiles/cura_wasm.jinja

@ -11,6 +11,10 @@ arch=wasm
[conf] [conf]
tools.build:skip_test=True tools.build:skip_test=True
tools.cmake.cmake_layout:build_folder_vars=['settings.os'] tools.cmake.cmake_layout:build_folder_vars=['settings.os']
{% if os.getenv('CI') == 'true' %}
user.curator:resource_path="{% os.getenv('GITHUB_WORKSPACE') %}/resources"
user.curator:fdm_materials_path="{% os.getenv('GITHUB_WORKSPACE') %}/resources"
{% endif %}
[options] [options]
curaengine/*:enable_plugins=False curaengine/*:enable_plugins=False

Loading…
Cancel
Save