File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -331,6 +331,45 @@ jobs:
331331 ${{runner.temp}}/msys64/mingw64/lib/libpgf*
332332 ${{runner.temp}}/msys64/mingw64/include/pgf
333333
334+ windows-haskell :
335+ name : Haskell (Windows)
336+ runs-on : windows-latest
337+ needs : mingw64-runtime
338+
339+ steps :
340+ - uses : actions/checkout@v7
341+ - name : Download artifact
342+ uses : actions/download-artifact@v4
343+ with :
344+ name : libpgf-windows
345+
346+ - name : Setup Haskell
347+ uses : haskell-actions/setup@v2
348+ with :
349+ ghc-version : 8
350+
351+ - name : Install Haskell build tools
352+ run : |
353+ cabal v1-install alex happy
354+
355+ - name : build and test the runtime
356+ working-directory : ./src/runtime/haskell
357+ run : |
358+ cabal v1-install
359+ cabal test
360+
361+ - name : build the compiler
362+ working-directory : ./src/compiler
363+ run : |
364+ cabal v1-install
365+
366+ - name : Upload artifact
367+ uses : actions/upload-artifact@v4
368+ with :
369+ name : compiler-linux
370+ path : |
371+ ~/.cabal/bin/gf
372+
334373 windows-python :
335374 name : Python (Windows)
336375 runs-on : windows-latest
You can’t perform that action at this time.
0 commit comments