bajuwa / ComicCompiler

Scripts that help combine/splice webtoon images into a smaller collection of pages
GNU General Public License v3.0
15 stars 5 forks source link

Introduce a CI Pipeline to automatically perform testing and pypi #69

Closed bajuwa closed 4 years ago

bajuwa commented 4 years ago

Pipeline setup: https://docs.microsoft.com/en-us/azure/devops/pipelines/create-first-pipeline?view=azure-devops&tabs=python%2Cyaml%2Cbrowser%2Ctfs-2018-2 PyPI deployment: https://docs.microsoft.com/en-us/azure/devops/pipelines/artifacts/pypi?view=azure-devops&tabs=yaml

add the build button/tag when done

bajuwa commented 4 years ago

Facing issues due to lack of appropriate ImageMagick version. The documentation says that ImageMagick is automatically available but doesn't state what version. Using UniversalPackage might be an alternative to get a specific version, but the UI it shows for setting up tasks is not the UI seen in the current project setup: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/package/universal-packages?view=azure-devops#yaml-snippet

bajuwa commented 4 years ago

Resolved the problem of versioning via installation of ImageMagick 7 on ubuntu using this set of commands: https://linuxconfig.org/how-to-install-imagemagick-7-on-ubuntu-18-04-linux It takes a while to make/install, but gets the version required.

bajuwa commented 4 years ago

the twine upload to pypi seems to stall in a way that's very similar to this bug: https://github.com/pypa/packaging-problems/issues/197

deferring the pypi part for later.