tkinterdnd2 icon indicating copy to clipboard operation
tkinterdnd2 copied to clipboard

Create Additional Workflows for building binaries

Open Squiblydoo opened this issue 1 year ago • 3 comments

This is more a note for myself, but also inviting others to contribute if desired. In the most recent build, 0.4.0, I included binaries for additional architectures. However, I didn't know how to compile the latest copies of tkdnd for myself. I'm working on resolving this. I was able to find instructions for building on MacOS ARM (M1) and have successfully compiled tkdnd using GitHub actions. I will soon upload those files, but will likely wait until I can build all of them and update them all successfully.

If anyone is already savvy with GitHub actions (or alternatively wants to learn) and can help in creating appropriate actions for creating the files, they are welcome to do so. The GitHub action I use for compiling the MacOS ARM files is discussed here: https://github.com/petasis/tkdnd/issues/61

  • [X] Compile MacOS ARM files

  • [ ] Compile Windows ARM files

  • [ ] Compile Linux ARM files

Squiblydoo avatar Aug 02 '24 16:08 Squiblydoo

@Squiblydoo This is open issue, I think it should be quite easy using GitHub Action and include in release. I'm asking because I see compiled libs in repo here. Or maybe you want compile them every time when you prepare release of Pyhon package?

emcek avatar Dec 07 '24 20:12 emcek

I'd be happy to use GitHub actions, but have had some difficulty setting up the correct actions for the ARM Windows and ARM Linux runners, or an alternative.(As I understand it, there have been some limitations in having ARM Linux runners available for GitHub actions, but they may become available soon. Other than that, I have some limitations from lack of skill/knowledge.

If you are able to suggest a suitable GitHub action to build them it would be appreciated.

At this time, I do compile them at the time of the Python package release. (That is, I compile the MacOS ARM binary with a GitHub action and collect the x64 binaries from the main TKDND project instead of building them myself.)

Squiblydoo avatar Dec 07 '24 20:12 Squiblydoo

Ok, I will open PR (this week) and see what we can automate.

Edit: Ok I read here and there... and indeed GitHub do not suport ARM architecture in Actions for free.

emcek avatar Dec 07 '24 20:12 emcek