• Windows - GitLab Runner

    From WitNik@VERT/BGGRSCYN to Digital Man on Mon Jan 25 12:03:42 2021
    DM,

    I've setup a couple of private GitLab runners for Linux, but I was curious is there a way to build the sbbs-windows and sexpots without commercial software? Excuse my ignorance, but I couldn't find a dependency guide for creating a CI/CD runner that will build those 2 successfully.


    Thanks,
    -WitNik

    ---
    þ Synchronet þ * Origin: Beggar's Canyon - beggarscyn.com *
  • From Digital Man@VERT to WitNik on Mon Jan 25 19:56:54 2021
    Re: Windows - GitLab Runner
    By: WitNik to Digital Man on Mon Jan 25 2021 12:03 pm

    DM,

    I've setup a couple of private GitLab runners for Linux, but I was curious is there a way to build the sbbs-windows and sexpots without commercial software? Excuse my ignorance, but I couldn't find a dependency guide for creating a CI/CD runner that will build those 2 successfully.

    sbbs-windows and sexpots can be built with Microsoft Visual C++. While it's a commerical product, they do have free versions available for download that work perfectly fine for that.

    That said, sbbsctrl.exe and a few other small GUI executables require C++Builder 6 which is an old/deprecated commercial product (by Borland) with no real "free" workable equivalent.
    --
    digital man

    Synchronet/BBS Terminology Definition #59:
    POP3 = Post Office Protocol version 3
    Norco, CA WX: 43.7øF, 55.0% humidity, 20 mph E wind, 0.05 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From WitNik@VERT/BGGRSCYN to Digital Man on Tue Jan 26 08:59:49 2021
    Re: Windows - GitLab Runner
    By: Digital Man to WitNik on Mon Jan 25 2021 07:56 pm

    sbbs-windows and sexpots can be built with Microsoft Visual C++. While it's a commerical product, they do have free versions available for download that work perfectly fine for that.

    That said, sbbsctrl.exe and a few other small GUI executables require C++Builder 6 which is an old/deprecated commercial product (by Borland) with no real "free" workable equivalent.

    I saw these dependencies on the wiki, but I'm not quite sure the steps required for configuring a proper runner. I'll keep hacking at it and looking at runner logs. I've seen things like mingw and some other packages that are leveraged on the window builds on the main project runners. I was just curious if you had some docs that you could direct me to for what I'd need to throw at a windows box for doing automated builds. Eventually, I was hoping to start looking closer at some of the C source in my forked gitlab project.

    This is by no means important. I was just curious.

    Thank you for your reply,
    -WitNik

    ---
    þ Synchronet þ * Origin: Beggar's Canyon - beggarscyn.com *
  • From Digital Man@VERT to WitNik on Tue Jan 26 14:03:15 2021
    Re: Windows - GitLab Runner
    By: WitNik to Digital Man on Tue Jan 26 2021 08:59 am

    Re: Windows - GitLab Runner
    By: Digital Man to WitNik on Mon Jan 25 2021 07:56 pm

    sbbs-windows and sexpots can be built with Microsoft Visual C++. While it's a commerical product, they do have free versions available for download that work perfectly fine for that.

    That said, sbbsctrl.exe and a few other small GUI executables require C++Builder 6 which is an old/deprecated commercial product (by Borland) with no real "free" workable equivalent.

    I saw these dependencies on the wiki, but I'm not quite sure the steps required for configuring a proper runner. I'll keep hacking at it and looking at runner logs. I've seen things like mingw and some other packages that are leveraged on the window builds on the main project runners. I was just curious if you had some docs that you could direct me to for what I'd need to throw at a windows box for doing automated builds. Eventually, I was hoping to start looking closer at some of the C source in my forked gitlab project.

    This is by no means important. I was just curious.

    The mingw stuff is only used for building jsdoor and SyncTERM for Windows (and these builds are from Deuce's gitrunner which is running on FreeBSD, not Windows).

    To successfully run the src/sbbs3/release.bat (the first build commnad for the sbbs-windows target in .gitlib-ci.yml), you'd need Visual C++ 2019 installed.

    To successfuly run the src/sbbs3/ctrl/build.bat and chat/build.bat and useredit/build.bat, you'd need C++Builder 6 installed (which includes the required Delphi compiler).

    To successfully run the src/sexpots/release.bat (the build target for sexpots-windows), you'd need Visual C++ 2019 installed.
    --
    digital man

    Rush quote #26:
    Too many hands on my time, too many feelings, too many things on my mind
    Norco, CA WX: 53.0øF, 40.0% humidity, 3 mph SSE wind, 0.04 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From WitNik@VERT/BGGRSCYN to Digital Man on Wed Jan 27 07:51:50 2021
    Re: Windows - GitLab Runner
    By: Digital Man to WitNik on Mon Jan 25 2021 07:56 pm

    sbbs-windows and sexpots can be built with Microsoft Visual C++. While it's a commerical product, they do have free versions available for download that work perfectly fine for that.

    That said, sbbsctrl.exe and a few other small GUI executables require C++Builder 6 which is an old/deprecated commercial product (by Borland) with no real "free" workable equivalent.

    Thank you! Can I just install the VS Build Tools? Or do I have to install the whole IDE? If so, which are the required options?

    -WitNik

    ---
    þ Synchronet þ * Origin: Beggar's Canyon - beggarscyn.com *
  • From Digital Man@VERT to WitNik on Wed Jan 27 16:16:44 2021
    Re: Windows - GitLab Runner
    By: WitNik to Digital Man on Wed Jan 27 2021 07:51 am

    Re: Windows - GitLab Runner
    By: Digital Man to WitNik on Mon Jan 25 2021 07:56 pm

    sbbs-windows and sexpots can be built with Microsoft Visual C++. While it's a commerical product, they do have free versions available for download that work perfectly fine for that.

    That said, sbbsctrl.exe and a few other small GUI executables require C++Builder 6 which is an old/deprecated commercial product (by Borland) with no real "free" workable equivalent.

    Thank you! Can I just install the VS Build Tools? Or do I have to install the whole IDE?

    I don't know. You'll need the C++ compiler/tool-chain and SDK. I'm not sure if those are included in "VS Build Tools".

    If so, which are the required options?

    All the C/C++ stuff. Nothing .NET or MFC or Java or C# or VB, etc.
    --
    digital man

    Rush quote #43:
    Summers going fast nights growing colder children growing up old friends, older Norco, CA WX: 57.1øF, 40.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Tracker1@VERT/TRN to WitNik on Wed Jan 27 16:45:41 2021
    On 1/27/2021 8:51 AM, WitNik wrote:
    sbbs-windows and sexpots can be built with Microsoft Visual C++. While it's >> a commerical product, they do have free versions available for download that >> work perfectly fine for that.

    That said, sbbsctrl.exe and a few other small GUI executables require
    C++Builder 6 which is an old/deprecated commercial product (by Borland) with >> no real "free" workable equivalent.

    Thank you! Can I just install the VS Build Tools? Or do I have to install the whole IDE? If so, which are the required options?

    That should work, yes... you should also install an appropriate windows
    sdk version for your windows. As a side note, if you install NodeJS,
    there is a checkbox option that installs build tools for windows on the
    last wizard screen, which is often the shortest/easiest path for this.

    url's wrapped...

    https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-160

    https://developer.microsoft.com/windows/downloads/windows-10-sdk
    --
    Michael J. Ryan (tracker1)
    +o roughneckbbs.com
    ---
    þ Synchronet þ Roughneck BBS - roughneckbbs.com