Skip to content

Commit 125253d

Browse files
committed
Test external commands with nightly GHC
Fixes #231
1 parent 5883176 commit 125253d

1 file changed

Lines changed: 21 additions & 6 deletions

File tree

.github/workflows/debugger.yaml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ jobs:
7777
continue-on-error: ${{ inputs.is-release == false }}
7878
strategy:
7979
matrix:
80-
version: [9.14.1] #, latest-nightly] disable nightly while its broken
80+
version: [9.14.1, 9.15.20260330]
8181
include:
82-
# - channel: https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml
83-
# version: latest-nightly
8482
- channel: https://raw.githubusercontent.com/haskell/ghcup-metadata/refs/heads/develop/ghcup-prereleases-0.0.9.yaml
8583
version: 9.14.1
84+
- channel: https://gitlab.haskell.org/ghc/ghcup-metadata/-/raw/updates/ghcup-nightlies-0.0.7.yaml
85+
version: 9.15.20260330
8686
steps:
8787
- uses: actions/checkout@v4
8888
with:
@@ -123,6 +123,14 @@ jobs:
123123
(cd ${{ runner.temp }}/dist && tar xzf "haskell-debugger-view-${{env.haskellDebuggerViewVersion}}.tar.gz")
124124
(cd ${{ runner.temp }}/dist && cd haskell-debugger-${{env.haskellDebuggerVersion}} && echo 'packages: . ../haskell-debugger-view-${{env.haskellDebuggerViewVersion}}' > cabal.project)
125125
126+
- name: Configure head.hackage for nightly
127+
if: matrix.version == '9.15.20260330'
128+
working-directory: ${{ runner.temp }}/dist/haskell-debugger-${{ env.haskellDebuggerVersion }}
129+
run: |
130+
curl --proto '=https' --tlsv1.2 -fsSL https://ghc.gitlab.haskell.org/head.hackage/cabal.project >> cabal.project.local
131+
echo 'constraints: hashable >= 1.4.7.0' >> cabal.project.local
132+
cabal update
133+
126134
- name: Build and Run integration tests
127135
run: |
128136
echo "Using haskell-debugger-view from hackage: ${{env.USE_HASKELL_DEBUGGER_VIEW_FROM_HACKAGE}}"
@@ -143,12 +151,12 @@ jobs:
143151
strategy:
144152
matrix:
145153
runner: [ubuntu-latest, macOS-latest] # windows-latest is broken, see #246
146-
version: [9.14.1] #, latest-nightly] disable nightly while its broken
154+
version: [9.14.1, 9.15.20260330]
147155
include:
148-
# - channel: https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml
149-
# version: latest-nightly
150156
- channel: https://raw.githubusercontent.com/haskell/ghcup-metadata/refs/heads/develop/ghcup-prereleases-0.0.9.yaml
151157
version: 9.14.1
158+
- channel: https://gitlab.haskell.org/ghc/ghcup-metadata/-/raw/updates/ghcup-nightlies-0.0.7.yaml
159+
version: 9.15.20260330
152160
steps:
153161
- uses: actions/checkout@v4
154162
with:
@@ -161,6 +169,13 @@ jobs:
161169
cabal-version: 3.14
162170
ghcup-release-channel: ${{ matrix.channel }}
163171

172+
- name: Configure head.hackage for nightly
173+
if: matrix.version == '9.15.20260330'
174+
run: |
175+
curl --proto '=https' --tlsv1.2 -fsSL https://ghc.gitlab.haskell.org/head.hackage/cabal.project >> cabal.project.local
176+
echo 'constraints: hashable >= 1.4.7.0' >> cabal.project.local
177+
cabal update
178+
164179
- name: Configure the build
165180
run: |
166181
cabal configure --enable-tests --enable-benchmarks --disable-documentation

0 commit comments

Comments
 (0)