With the cross compilation now working under Racket 8.2,
I can offer a Makefile to build binaries for different
platforms in a Linux build environment on Sourcehut.
Being able to cross-compile is important in this case
because Sourcehut doesn't have Windows or Mac OS X build
environments.
https://git.sr.ht/~sschwarzer/sudoku-solver/tree/main/item/Makefile
Raw download:
https://git.sr.ht/~sschwarzer/sudoku-solver/blob/main/Makefile
Build log example:
https://builds.sr.ht/~sschwarzer/job/547472
The build instructions in the makefile are kind of
straightforward, but maybe it saves someone a bit
head-scratching to get some of the details right. :-)
What might also be interesting is the use of `sed` to patch
the version in the `info.rkt` file and to work around the
requirement of static artifact paths in `.build.yml` files.
I patch the version part in the artifact paths before `git
push`, so I can create build files which contain the version
number.