mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
Bump Blender build and simplify sun_position installation
This commit is contained in:
@@ -104,7 +104,7 @@ jobs:
|
|||||||
set -x -e
|
set -x -e
|
||||||
|
|
||||||
# Download Blender.
|
# Download Blender.
|
||||||
wget -q -O blender.tar.xz https://ftp.nluug.nl/pub/graphics/blender/release/Blender4.2/blender-4.2.0-linux-x64.tar.xz
|
wget -q -O blender.tar.xz https://ftp.nluug.nl/pub/graphics/blender/release/Blender4.2/blender-4.2.3-linux-x64.tar.xz
|
||||||
tar -xf blender.tar.xz
|
tar -xf blender.tar.xz
|
||||||
|
|
||||||
# Setup Blender.
|
# Setup Blender.
|
||||||
@@ -147,9 +147,7 @@ jobs:
|
|||||||
|
|
||||||
# Install Sun Position extension.
|
# Install Sun Position extension.
|
||||||
blender --online-mode --command extension sync
|
blender --online-mode --command extension sync
|
||||||
blender --online-mode --background --python-expr "import bpy; \
|
blender --online-mode --command extension install --enable --sync sun_position
|
||||||
bpy.ops.extensions.package_install(repo_index=0, pkg_id='sun_position'); \
|
|
||||||
bpy.ops.preferences.addon_enable(module='bl_ext.blender_org.sun_position'); bpy.ops.wm.save_userpref()"
|
|
||||||
|
|
||||||
cd ../bonsai
|
cd ../bonsai
|
||||||
pip install pytest-blender
|
pip install pytest-blender
|
||||||
|
|||||||
Reference in New Issue
Block a user