setup-lazarus
setup-lazarus copied to clipboard
feat: make able to install cross compilers in Windows
Some link: https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Lazarus%202.2.4/lazarus-2.2.4-fpc-3.2.2-cross-i386-win32-win64.exe
Hey Zhymabek (@ZhymabekRoman),
It's not a bad idea, but I'll have to have a think about how I'm gonna code that into a parameter. And then there's the fact that it's only for the Windows GitHub runners.
The goal is to not have any differentiation between the GitHub runners, so one call to setup-lazarus can be the same on all 3 of the supported platforms: windows_latest, ubuntu_latest and macos_latest.
But it's not a bad suggestion, just a bit more in tune to your Windows needs and disregarding the other 2 platforms, right?
Cheers, Gus
I thought maybe I could help out here since I'm already maintaining a CircleCi Orb for Lazarus with an optional cross-compiler for 32-bit Windows (and only Windows.) Not the best preparation, I admit — Orbs are just YAML templates with shell scripts pasted in.
But I had some trouble with the Lazarus.ts module, in large part because of all the duplicate switch-cases in the installer code path. So instead I did some refactoring in this pull request.
Hey @rdipardo,
Many thanks for the PR, I've merged it now!!
I would gladly work with you on any way we can figure out cross-compiling.
I've been enquiring about the easy path: A command line fpcupdeluxe. To no avail cuz it's a lot of changes to get the GUI out of the way :wink:
The biggest issue is the fact that I'm heavily relying on the Source Forge install binaries. If I could, somehow, have some other alternative, I would be very happy to swap over.
Nonetheless, it would have to be for all 3 platform that the GitHub runners offer: Windows, Linux and macOS(I'm also hoping that they begin to offer ARM runners soon, but then we would, kinda, be stuck since there are no ARM install .deb, only .tar.gz archives that I would need to study).
So, any input you can provide would be awesome !!
Cheers, Gus
Hey @rdipardo,
Since this is the only way I got to interface with you I have a question about your Orb: The OPM Synapse package has a space in it. Your Orb description mentions package names separated by spaces. Is this not an issue with said Synapse package?
Cheers, Gus