On Wed, 27 Jul 2022 11:43:23 -0400 (EDT) Scott Talbert wrote:
ST> On Wed, 27 Jul 2022, Vadim Zeitlin wrote:
ST>
ST> > ST> Mostly a question for VZ I think, but has anyone ever tried building
ST> > ST> wxWidgets on a Windows GitHub Action image using nmake?
ST> >
ST> > I don't build wxWidgets itself using nmake because I either build it using
ST> > MSBuild (for the projects using a customized version of it) or just use the
ST> > release DLLs (that can be downloaded once and then cached, speeding up the
ST> > build a lot), but I do build some other stuff using nmake and I use an
ST> > action setting up things correctly for it to work, like this:
ST> >
ST> > - name: Set up nmake
ST> > uses: ilammy/msvc-d...@v1.10.0
ST> > with:
ST> > arch: ${{ matrix.arch }}
ST>
ST> Thanks. I've used that ilammy action on other projects on GitHub and it
ST> works well. (It's kind of sad that Microsoft doesn't provide such an
ST> action itself...) Unfortunately, wxPython uses Azure Pipelines so I don't
ST> think I can use that action there.
You probably should be able to redo what it does there manually, but I've
never used Azure Pipelines, so I can't help with this, sorry...
ST> Thanks for confirming that we're not trying to do anything too crazy. I'm
ST> 99% sure that they broke something in this most recent image that used to
ST> work before.
FWIW I'd really recommend _not_ using nmake for building wx, it doesn't
use parallel builds, so it's at least twice slower than msbuild (with /m
option), as I think that even the lowest grade CI runners provide more than
one core now.
Regards,
VZ