Open jrr opened 4 years ago
@jrr this is great, i hope @KinesisCorporation reviews this pr soon
Because it's mildly interesting I continue to periodically try to keep this PR alive.
I rebased against the latest changes, and:
Got the master app building in CI, and the resulting binary works on my machine (on MacOS Big Sur):
Got the RGB build going again. TKO is currently broken.
After rebasing against the latest commits on master, all four current apps are successfully building! (Advantage, Master, FSEdge, and Savant Elite)
So, @KinesisCorporation this would be a great time to merge the PR ;)
Are you interested at all in continuous integration?
And you could have one of these badges like all the cool kids these days:
This is great. It's unfortunate the PR still hasn't been merged/reviewed.
Rebased again. Currently building only SmartSetMaster and the new SmartSetMasterOffice; the other apps have errors.
Rebased again with a couple updates:
Are these even looked at any more?
This PR configures CI via GitHub Actions.
Highlights
Every push and PR will trigger a build of all four apps on three platforms (Mac 64 / Windows 32 / Linux 64)
Artifacts are saved so you can download the latest binaries (Example green build)
The Makefile can be used for command-line builds (e.g.
make smartset_fsedge
), and it handles dependencies whenlazbuild
doesn't.Details
It took only a few small code changes to get Linux builds going. (
SmartSetSavantElite/u_form_keypress.pas
and bothu_const.pas
files)I wound up setting a
--widgetset
for Windows in order to avoid errors related to LCL and cocoa.Of the binaries the build produces, the only combination I've tested is Edge/Pro on Mac since that's what I have readily available. For what it's worth, the Mac app appears to work: it's able to see and write settings on both my Edge and my Pro.
I hope this is useful for the project and for supporting further community contributions.
I'm new to Pascal and Lazarus and would welcome feedback on anything I've done here.