@@ -25,7 +25,7 @@ name: Debugger CI
2525jobs :
2626 build-vscode-extension :
2727 name : Build VSCode Extension
28- runs-on : ubuntu-latest # or macOS-latest, or windows-latest
28+ runs-on : ubuntu-latest
2929 steps :
3030 - uses : actions/checkout@v4
3131 with :
@@ -136,12 +136,13 @@ jobs:
136136
137137 # Golden+Haskell tests are run on the git checkout
138138 build-n-more-test-haskell-debugger :
139- name : Build and Run Haskell Tests
140- runs-on : ubuntu-latest
141- # Run all jobs in the matrix to the end (IF NOT ON RELEASE )
139+ name : Build and Run Haskell Tests (${{ matrix.runner }})
140+ runs-on : ${{ matrix.runner }}
141+ # Run all jobs in the matrix to the end (IF RELEASE, STOP ON FAILURE )
142142 continue-on-error : ${{ inputs.is-release == false }}
143143 strategy :
144144 matrix :
145+ runner : [ubuntu-latest, macOS-latest, windows-latest] # it'd be good to also build-from-hackage on windows and macOS
145146 version : [9.14.0.20251104] # , latest-nightly] disable nightly while its broken
146147 include :
147148 # - channel: https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml
@@ -156,8 +157,7 @@ jobs:
156157 # Cabal store cache (main speed-up)
157158 - uses : actions/cache@v3
158159 with :
159- path : |
160- ~/.cabal/store
160+ path : ~/.cabal/store
161161 key : ${{ runner.os }}-ghc-${{ matrix.version }}-cabal-${{ hashFiles('**/*.cabal', 'cabal.project*') }}
162162 restore-keys : |
163163 ${{ runner.os }}-ghc-${{ matrix.version }}-cabal-
@@ -168,11 +168,11 @@ jobs:
168168 cabal-version : 3.14
169169 ghcup-release-channel : ${{ matrix.channel }}
170170
171- - uses : cachix/install-nix-action@v31
172- with :
173- nix_path : nixpkgs=channel:nixos-unstable
174-
175- - name : Build and Run integration tests
171+ - name : Build and Run Haskell tests
172+ shell : bash
176173 run : |
177- echo "Running Haskell Testsuite now..."
178- cabal run haskell-debugger-test --enable-executable-dynamic --allow-newer=ghc-bignum,containers,time,ghc,base,template-haskell
174+ if [ "$RUNNER_OS" == "Windows" ]; then
175+ cabal run haskell-debugger-test --allow-newer=ghc-bignum,containers,time,ghc,base,template-haskell
176+ else
177+ cabal run haskell-debugger-test --enable-executable-dynamic --allow-newer=ghc-bignum,containers,time,ghc,base,template-haskell
178+ fi
0 commit comments