From b57686ca9f9b9f65d7d0f93590a3f70bfe414982 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Wed, 9 Sep 2026 11:39:36 +0200 Subject: [PATCH] started an action to compile gf on Windows --- .github/workflows/build-majestic.yml | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/.github/workflows/build-majestic.yml b/.github/workflows/build-majestic.yml index 33ff86f62..2ac5d4090 100644 --- a/.github/workflows/build-majestic.yml +++ b/.github/workflows/build-majestic.yml @@ -331,6 +331,45 @@ jobs: ${{runner.temp}}/msys64/mingw64/lib/libpgf* ${{runner.temp}}/msys64/mingw64/include/pgf + windows-haskell: + name: Haskell (Windows) + runs-on: windows-latest + needs: mingw64-runtime + + steps: + - uses: actions/checkout@v7 + - name: Download artifact + uses: actions/download-artifact@v4 + with: + name: libpgf-windows + + - name: Setup Haskell + uses: haskell-actions/setup@v2 + with: + ghc-version: 8 + + - name: Install Haskell build tools + run: | + cabal v1-install alex happy + + - name: build and test the runtime + working-directory: ./src/runtime/haskell + run: | + cabal v1-install + cabal test + + - name: build the compiler + working-directory: ./src/compiler + run: | + cabal v1-install + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: compiler-linux + path: | + ~/.cabal/bin/gf + windows-python: name: Python (Windows) runs-on: windows-latest