File tree 1 file changed +5
-15
lines changed
1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change 19
19
runs-on : ubuntu-latest
20
20
outputs :
21
21
should_skip : ${{ steps.skip_check.outputs.should_skip }}
22
- should_skip_ghcide : ${{ steps.skip_ghcide_check.outputs.should_skip }}
23
22
steps :
24
23
- id : skip_check
25
24
36
35
, ".circleci/**"
37
36
, "**/stack*.yaml"
38
37
]'
39
- # If we only change ghcide downstream packages we have not test ghcide itself
40
- - id : skip_ghcide_check
41
-
42
- with :
43
- cancel_others : false
44
- paths_ignore : ' [ "hls-test-utils/**"
45
- , "plugins/**"
46
- , "src/**"
47
- , "exe/**"
48
- , "test/**"
49
- , "shake-bench/**"
50
- ]'
51
38
52
39
flags :
53
40
if : needs.pre_job.outputs.should_skip != 'true'
@@ -131,6 +118,10 @@ jobs:
131
118
${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-
132
119
${{ env.cache-name }}-${{ runner.os }}-
133
120
121
+ # To ensure we get the lastest hackage index and not relying on haskell action logic
122
+ - if : steps.compiled-deps.outputs.cache-hit != 'true'
123
+ run : cabal update
124
+
134
125
- name : Build `hls-graph` with flags
135
126
run : cabal v2-build hls-graph --flags="pedantic embed-files stm-stats"
136
127
@@ -143,9 +134,8 @@ jobs:
143
134
- name : Build `hls-test-utils` with flags
144
135
run : cabal v2-build hls-test-utils --flags="pedantic"
145
136
146
- # repeating builds to workaround segfaults in windows and ghc-8.8.4
147
137
- 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"
138
+ run : cabal v2-build ghcide --flags="ghc-patched-unboxed-bytecode test-exe executable bench-exe"
149
139
150
140
flags_post_job :
151
141
if : always()
You can’t perform that action at this time.
0 commit comments