try to set up paths for Windows

This commit is contained in:
Krasimir Angelov
2026-09-09 11:50:06 +02:00
parent b57686ca9f
commit 95df6b34c9
+4 -2
View File
@@ -335,6 +335,8 @@ jobs:
name: Haskell (Windows) name: Haskell (Windows)
runs-on: windows-latest runs-on: windows-latest
needs: mingw64-runtime needs: mingw64-runtime
env:
PATH: %HOME%/lib;%PATH%
steps: steps:
- uses: actions/checkout@v7 - uses: actions/checkout@v7
@@ -355,7 +357,7 @@ jobs:
- name: build and test the runtime - name: build and test the runtime
working-directory: ./src/runtime/haskell working-directory: ./src/runtime/haskell
run: | run: |
cabal v1-install cabal v1-install --extra-lib-dirs=lib --extra-include-dirs=include
cabal test cabal test
- name: build the compiler - name: build the compiler
@@ -366,7 +368,7 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: compiler-linux name: compiler-windows
path: | path: |
~/.cabal/bin/gf ~/.cabal/bin/gf