Skip to content

version 2.0.0

version 2.0.0 #57

Workflow file for this run

name: test-addon
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
fail-fast: false
matrix:
blender-version: ["4.2.0"]
os: [ubuntu-latest, windows-latest, macos-13]
# os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.11.6'
cache: 'pip'
# - run: pip install bpy==${{ matrix.blender-version }}
- name: Install poetry
run: pip install poetry
- name: Install
run: poetry install --with=dev
- name: install
run: pip install -r requirements.txt
- name: Install tif_loader
run: pip install .
- name: Install pyopenvdb
if: matrix.os == 'ubuntu-latest'
run: |
cd $(poetry run python -c "import os; import bpy; print(os.path.dirname(bpy.__file__)+'/../../../../../')")
svn export https://svn.blender.org/svnroot/bf-blender/trunk/lib/linux_x86_64_glibc_228/python/lib/python3.10/site-packages/pyopenvdb.so@r63589
pip install patchelf
patchelf --set-rpath '$ORIGIN/bpy/lib' pyopenvdb.so
- name: Run Tests
run: pytest --verbose