Skip to content

Commit 312db71

Browse files
committed
CI: flags: post-review fxs
1 parent dc5c389 commit 312db71

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/flags.yml

+5-13
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,6 @@ jobs:
3636
, ".circleci/**"
3737
, "**/stack*.yaml"
3838
]'
39-
# If we only change ghcide downstream packages we have not test ghcide itself
40-
- id: skip_ghcide_check
41-
uses: fkirc/[email protected]
42-
with:
43-
cancel_others: false
44-
paths_ignore: '[ "hls-test-utils/**"
45-
, "plugins/**"
46-
, "src/**"
47-
, "exe/**"
48-
, "test/**"
49-
, "shake-bench/**"
50-
]'
5139

5240
flags:
5341
if: needs.pre_job.outputs.should_skip != 'true'
@@ -131,6 +119,10 @@ jobs:
131119
${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-
132120
${{ env.cache-name }}-${{ runner.os }}-
133121
122+
# To ensure we get the lastest hackage index and not relying on haskell action logic
123+
- if: steps.compiled-deps.outputs.cache-hit != 'true'
124+
run: cabal update
125+
134126
- name: Build `hls-graph` with flags
135127
run: cabal v2-build hls-graph --flags="pedantic embed-files stm-stats"
136128

@@ -145,7 +137,7 @@ jobs:
145137

146138
# repeating builds to workaround segfaults in windows and ghc-8.8.4
147139
- name: Build
148-
run: cabal v2-build ghcide --flags="ghc-patched-unboxed-bytecode test-exe executable bench-exe" || cabal v2-build ghcide --flags="ghc-patched-unboxed-bytecode test-exe executable bench-exe" || cabal v2-build ghcide --flags="ghc-patched-unboxed-bytecode test-exe executable bench-exe"
140+
run: cabal v2-build ghcide --flags="ghc-patched-unboxed-bytecode test-exe executable bench-exe"
149141

150142
flags_post_job:
151143
if: always()

0 commit comments

Comments
 (0)