Photonsters / PhotonFileEditor

Utilities to display, make and edit files for the Anycubic Photon printer
GNU General Public License v3.0
75 stars 13 forks source link

Code deployment across Win/Linux/macOS #14

Open Reonarudo opened 6 years ago

Reonarudo commented 6 years ago

Prepare the project for easy deployment, both for development and execution.

X3msnake commented 6 years ago

check the way @lexelby is doing it on inkstitch with travis, it's way out of my league but probably easy for you guys to understand and maybe get some ideas

X3msnake commented 6 years ago

Moved to #69

X3msnake commented 6 years ago

Moved to #69

Reonarudo commented 6 years ago

Seems very interesting. I'm currently testing Travis integration and will also test with such tools.

X3msnake commented 6 years ago

Moved to #69

Reonarudo commented 6 years ago

I have figured out Travis but there is no direct Windows support. The roundabout route will be to use wine on Linux to do it although it's not advisable since they do not ensure everything will be copied correctly to the binary. I tried on my mac and the builds always fail. Seems to be pygame related but needs more investigation to confirm. I will first assemble just the Travis configuration to check if the script is runnable first on Linux. I will iterate from there.

X3msnake commented 6 years ago

Here's more information on how I did the 32-bit build. I did this all by setting up a reverse tunnel to my personal server (lex.gd) that let me get a shell in the build system. I'd rather not open that up to you, but I don't think you'll need it.

https://github.com/lexelby/inkstitch/issues/70#issuecomment-368345866

Reonarudo commented 6 years ago

@NardJ Could you activate Travis? I can only activate it on the repos I own.

NardJ commented 6 years ago

@Reonarudo I have added Travis CI as service.I am not familiair with Travis at all. Is this all I need to do, or do I have to fill in the form that follows?

t

Reonarudo commented 6 years ago

After enabling Travis you have to activate it on a per-repository basis. You should get to a panel with a list of all your repositories with on/off switches. Then you just have to turn it on fo PhotonFileUtils.

NardJ commented 6 years ago

@Reonarudo I think I have it activated now.

Reonarudo commented 6 years ago

@NardJ I can't see it yet. Should be at: https://travis-ci.org/NardJ/PhotonFileUtils

NardJ commented 6 years ago

@Reonarudo I have the link working now (needed to give Travis permissions.)

X3msnake commented 6 years ago

Moved to #69

Reonarudo commented 6 years ago

This issue is not about generating an executable. It's about having a Continuous Integration system. I have been quite busy lately and didn't have time to merge the high amount of change done on the main branch with this one yet.

X3msnake commented 6 years ago

Opened a installer issue and moved respective links to #69

X3msnake commented 5 years ago

@Reonarudo have you had time to look into this Master?