Show Blenders python script code for export options #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Build | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
linux: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install Dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y blender ogre-1.12-tools | |
- uses: actions/checkout@v2 | |
- name: Test | |
run: | | |
mkdir -p ~/.config/blender/3.0/scripts/addons/ | |
ln -s `pwd`/io_ogre ~/.config/blender/3.0/scripts/addons/ | |
blender examples/armature-test.blend -b --python test/run.py | |
# verify that files were created | |
test -f test.scene | |
test -f Cube.mesh | |
test -f Cube.skeleton | |
test -f Material.material |