HearthSim / decrunch

Python wrapper around Crunch DXTc decompressor
https://hearthsim.info
zlib License
14 stars 23 forks source link

Mac Compatibility & Github Workflow #18

Open K0lb3 opened 4 years ago

K0lb3 commented 4 years ago

This PR makes decrunch compatible with Mac and adds tests for Linux, Mac, and Windows on travis and Github Actions.

The commented section at the end of .github/workflows/python-package.yml can be used to upload wheels for Mac and Windows to pypi.

- name: Build and publish if: success() && runner.os != 'Linux' && github.event_name == 'push' env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | python setup.py sdist bdist_wheel twine upload dist/* --skip-existing

secrets.PYPI_TOKEN has to be set in the settings of the github project.