The Javascript backend has been merged into the GHC repo for a while, and I also found the tutorial on how to build a simple example here: Using GHC's JavaScript Backend in the Browser | IOG Engineering But has anyone already tried to build a static site using Github actions which can be served using github pages? Building GHC itself using Github actions is probably not the way to go forward , but is there some preferred way to get prebuilt binaries?
Ideally I am looking for someone who has a working Github actions configuration for building and serving a simple static website that I can copy and modify.
For anyone stumbling upon this in the future. I managed to find some time today to try this out. I created the following minimal project which uses GHCup’s support for crosscompilers in GitHub CI actions: GitHub - BinderDavid/ghc-javascript-ci