nangtani / blender-addon-tester

The blender addon tester is a test harness to enable pytest hook to allow addons to be tested inside a defined version of blender.
MIT License
64 stars 13 forks source link

Run Windows on Travis CI? #3

Open cclauss opened 5 years ago

cclauss commented 5 years ago

A comment in .travis.yml says that Python can not be run on Travis CI Windows. See: https://docs.travis-ci.com/user/languages/python/#running-python-tests-on-multiple-operating-systems The command choco install blender python might just work.

douglaskastle commented 4 years ago

I got TravisCI to download and compile python for both windows and linux in the same matrix, for multiple versions of python. Have a look here on how it gets done. Currently stuck on getting osx working:

https://github.com/douglaskastle/travis_get_python

However for windows blender it bombs out because there are missing dll's it needs to run.

C:/Users/travis/build/douglaskastle/blender-2.82-nightly/blender.exe: error while loading shared libraries: libsndfile-1.dll: cannot open shared object file: No such file or directory

I have seen this on headless systems before, unsure of the workaround right now

cclauss commented 4 years ago

https://docs.travis-ci.com/user/languages/python/#running-python-tests-on-multiple-operating-systems

douglaskastle commented 4 years ago

I am trying to build python from scratch, I am able to do it with linux, for Mac there is an openssl issue I have seen before I think I know how to fix, if I can't I will look into the way done above, it is not my preferred solution. However I can only install windows the choco way.

The above link does not address the blender crashing on a windows VM issue.

myselfhimself commented 4 years ago

This looks solved does it not?

douglaskastle commented 4 years ago

No, this is for Windows on Travis, not github actions. Need to create a branch and show it failing

https://travis-ci.community/t/blender-crashes-under-travisci-windows-vm/5824