vcvrack-rtlsdr icon indicating copy to clipboard operation
vcvrack-rtlsdr copied to clipboard

Build on Windows with Appveyor

Open wizardishungry opened this issue 7 years ago • 5 comments

DHE-Modules has a branch right now that builds using Appveyor. I'd ask that if we decide to use external scripts we use a standard layout. We could also stand to put Travis scripts in this layout.

wizardishungry avatar Feb 07 '18 01:02 wizardishungry

@dizzisound I'd love some help on this one; if we can ship the build artifact from this, I won't need to ask for builds 😄

wizardishungry avatar Feb 07 '18 01:02 wizardishungry

@WIZARDISHUNGRY Glad to help, if I can. Tell me as well how I can help, I'm just inquiring about AppVeyor, new to it.

dizzisound avatar Feb 07 '18 11:02 dizzisound

@WIZARDISHUNGRY At a first glance, I looked at DHE-Modules implementation, precisely the main script descriptor appveyor.yml and I would say that in our case there's a need to integrate the script fragment lauched at line 48:

  • bash -l %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install-development-tools.sh

Most likely rtl-sdr and libusb libraries don't come included in the AppVeyor MSYS2 setup, so the next step looks like this to me: "How to configure an extra fragment to pull, configure and compile the required libraries?" Should I resume the cli pipeline that worked for me in doing that? Tell me if I'm going in the right direction, CI setup is a quite new territory to me. We use Jenkins at work, but our fellow sysops did the thing :-)

dizzisound avatar Feb 07 '18 16:02 dizzisound

@dizzisound I think the best solution would be to move towards using git submodules on every platform. Both of those libraries are semi-complex to build, so I'm keeping my eyes open for a plugin that builds stuff along the lines of ext (and dep to some extent) in the main build.

wizardishungry avatar Feb 07 '18 17:02 wizardishungry

@WIZARDISHUNGRY Nice point, I agree.

dizzisound avatar Feb 07 '18 17:02 dizzisound