Initial Windows buildbot / GitLab CI with binary artifacts
I'm not totally happy with the way I'm hardcoding certain Qt 5, URIs, paths and properties, but it's nice to finally get this to work. The combination of PowerShell, MSVC, GitLab Runners, escape codes and Qt5 has been an impressive pain in the ass.
Most of these things lack proper documentation or only receive one or two hits on Google, so I think I've ended up with something pretty novel. And hey, it actually works! ¯\_(ツ)_/¯
This is the kind of artifacts and output you would get:
- https://gitlab.com/Swyter/OpenRGB/-/jobs/579134140
- https://gitlab.com/Swyter/OpenRGB/-/jobs/579134140/artifacts/browse/_build/
- https://gitlab.com/Swyter/OpenRGB/-/jobs/579134140/artifacts/file/_build/OpenRGB_0.21_64_8c93678_nightly_2020-06-03T12-12-15.7z
I've followed your existing release filename formatting a bit. I've also changed the qmake
project to save all the intermediate things into their own separate folders. Added the win32
prefix just in case, but this may be useful for other targets.
Another thing that didn't seem to work until now is copying all the other needed .dll
files. It only copied OpenRazer64.dll
and in my case it didn't seem to put the file in the right place.
Let me know what you think. I first brought this as an issue in #269 (closed). :)