Skip to content

Add: Import/Export normals #156

Add: Import/Export normals

Add: Import/Export normals #156

Workflow file for this run

---
# yamllint disable rule:line-length
name: blender-mqo CI
on: # yamllint disable-line rule:truthy
push:
branches:
- master
- 'release/v**'
- 'run-ci/**'
tags:
- 'v*'
pull_request:
workflow_dispatch:
jobs:
build:
name: Test add-on
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.7"
- name: Get required packages for Blender
run: |
sudo apt-get update -qq
sudo apt-get install -y blender wget python3 python3-pip zip libglu1-mesa
- name: Get required pip packages
run: pip3 install -r requirements.txt
- name: Download Blender (2.7x)
run: bash tools/download_blender.sh 2.77 blender-bin
- name: Copy add-on to Blender add-on's directory (2.7x)
run: cp -r src/blender_mqo blender-bin/blender-v2.77-bin/2.77/scripts/addons
- name: Run add-on unittest (2.7x)
run: blender-bin/blender-v2.77-bin/blender --factory-startup --background -noaudio --python tests/python/run_tests.py
- name: Download Blender (2.8x)
run: bash tools/download_blender.sh 2.80 blender-bin
- name: Copy add-on to Blender add-on's directory (2.8x)
run: cp -r src/blender_mqo blender-bin/blender-v2.80-bin/2.80/scripts/addons
- name: Run add-on unittest (2.8x)
run: blender-bin/blender-v2.80-bin/blender --factory-startup --background -noaudio --python tests/python/run_tests.py
- name: Download Blender (4.2)
run: bash tools/download_blender.sh 4.2 blender-bin
- name: Copy add-on to Blender add-on's directory (4.2)
run: |
mkdir -p ~/.config/blender/4.2/extensions/user_default
cp -r src/blender_mqo ~/.config/blender/4.2/extensions/user_default
- name: Run add-on unittest (4.2)
run: blender-bin/blender-v4.2-bin/blender --factory-startup --background -noaudio --python tests/python/run_tests.py