glabels-qt
glabels-qt copied to clipboard
Windows and Mac installer
Add an easy way to build and package for Windows and Mac using "craft" from KDE https://community.kde.org/Craft
Craft manages dependencies and builds libraries and applications from source Craft can create setup.exe and OSX bundle
Proof of concept:
- Source: https://github.com/samdolt/glabels-qt
- Craft Config File: https://github.com/samdolt/glabels-qt/blob/master/glabels-qt.py
- CI Config File: https://github.com/samdolt/glabels-qt/blob/master/azure-pipelines.yml
- CI Build: https://dev.azure.com/dolt-ch-lab/glabels-qt/_build
If this method would be accepted, I can make a pull request (My code need some cleaning), and add support for a macOS CI build.
Link for the windows installer file from CI: https://dev.azure.com/dolt-ch-lab/_apis/resources/Containers/2205657?itemPath=drop%2Fglabels-qt-master-dbfc13c-windows-msvc2017_64-cl.exe
Warning: Proof of concept only, Not optimized at all (1.6Go after install), bundle clang and llvm, mysql, ...
In any case it's worth to publish such a -- maybe still buggy and incomplete -- Windows installer, as long as we don't have a stable (or at least beta) release anyway. +1 from me.
After a little work, I have a working installer for Windows 7/8/10 64 bit (only tested on W10):
https://dev.azure.com/dolt-ch-lab/_apis/resources/Containers/2269829?itemPath=drop%2Fglabels-qt-master-f3f9f29-windows-msvc2017_64-cl.exe
Need only 90MB and create a start menu entry.
This installer was build on Azure Pipeline, a free CI tools for public Github repository by Micrososft. CI Config: https://github.com/samdolt/glabels-qt/blob/master/azure-pipelines.yml KDE Craft config: https://github.com/samdolt/craft-blueprints-glabels-qt.git
I will make a pull-request with a cleaned up version of azure-pipelines.yml later this weeks. Then after enabling Azure Pipeline on this repo we could have an installer for every commit in master, and Windows Build status for every pull-request
Sounds good! I will give it a try next week.
After a little work, I have a working installer for Windows 7/8/10 64 bit (only tested on W10):
https://dev.azure.com/dolt-ch-lab/_apis/resources/Containers/2269829?itemPath=drop%2Fglabels-qt-master-f3f9f29-windows-msvc2017_64-cl.exe
I wanted to try this out, but I got a ... is not authorized to access this resource
message.
Is there an (easy?) way to build a 32bit Windows version?
Would be amazing to have it available via Chocolatey !