SkyTemple / py-desmume

Python Library and GUI for DeSmuME, the Nintendo DS emulator
GNU General Public License v3.0
24 stars 5 forks source link

Add workflow job to publish dev wheels with GH Pages #25

Closed mike8699 closed 2 years ago

mike8699 commented 2 years ago

This adds a workflow that builds wheels for py-desmume and pushes them to a github pages static site. This would make it easier to install and run the latest development build from master without needing to cut a release and deploy to pypi.

I've set this up on my fork of the repo, where I can run pip install --find-links https://mikeoss.github.io/py-desmume --no-index py-desmume to install the latest master. I used this to test the memory leak fix as I was having problems building the wheels locally, so I figured I would open a PR in case you were interested @theCapypara .

theCapypara commented 2 years ago

Cool thanks! I'll check this out, though you can basically already do this, thanks to nightly.link & Github Actions artifacts: https://nightly.link/SkyTemple/py-desmume/workflows/build-test-publish/master

mike8699 commented 2 years ago

Cool thanks! I'll check this out, though you can basically already do this, thanks to nightly.link & Github Actions artifacts: https://nightly.link/SkyTemple/py-desmume/workflows/build-test-publish/master

Wow that's nice, I didn't know that was a thing. I probably wasted my time setting this action up then 😅

mike8699 commented 2 years ago

I looked at bit more into nightly.link, and it seems like it provides the exact same functionality that this PR does, with the added benefits that 1) you can retrieve wheels for any branch in your repo and 2) you don't have to commit the wheels to your repo and setup github pages branch. So because of that i'm just going to close this PR :)