Sun, Nov 29, 2026 at 04:53:55PM +0100, groepaz wrote: >One annoying problem you are probably running into is the shell used by >the GHA to execute commands. For cc65 we wanted the GHA to test the >"windows way" of building it (using cmd.exe and native tools) As a matter of fact, CMake and CPack allow this rather nicely, provided that you are willing to spend the effort to rewrite the build scripts in CMake. You basically just invoke cmake twice: once to configure and another time to build. The target file layout differs between Windows and POSIX by default. The -G 'Ninja Multi-Config' is closer to the Windows way. There should also be a generator for Apple Xcode project files. I gave the CMake treatment to https://github.com/dr-m/cbmconvert some years ago; GitHub Actions are generating a Windows installer in .MSI format. I guess if someone needs to compile the code in an older environment where CMake is not available, they could still revert to the hand-written Makefile that is available in the version history. As part of the effort I wrote some tests in CTest and measured the code coverage exercised by them. Not surprisingly, this effort revealed some bugs that had been in cbmconvert from the very beginning. With best regards, MarkoReceived on 2026-11-29 21:00:01
Archive generated by hypermail 2.4.0.