-
-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc5c389
commit 312db71
Showing
1 changed file
with
5 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,18 +36,6 @@ jobs: | |
, ".circleci/**" | ||
, "**/stack*.yaml" | ||
]' | ||
# If we only change ghcide downstream packages we have not test ghcide itself | ||
- id: skip_ghcide_check | ||
uses: fkirc/[email protected] | ||
with: | ||
cancel_others: false | ||
paths_ignore: '[ "hls-test-utils/**" | ||
, "plugins/**" | ||
, "src/**" | ||
, "exe/**" | ||
, "test/**" | ||
, "shake-bench/**" | ||
]' | ||
|
||
flags: | ||
if: needs.pre_job.outputs.should_skip != 'true' | ||
|
@@ -131,6 +119,10 @@ jobs: | |
${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}- | ||
${{ env.cache-name }}-${{ runner.os }}- | ||
# To ensure we get the lastest hackage index and not relying on haskell action logic | ||
- if: steps.compiled-deps.outputs.cache-hit != 'true' | ||
run: cabal update | ||
|
||
- name: Build `hls-graph` with flags | ||
run: cabal v2-build hls-graph --flags="pedantic embed-files stm-stats" | ||
|
||
|
@@ -145,7 +137,7 @@ jobs: | |
|
||
# repeating builds to workaround segfaults in windows and ghc-8.8.4 | ||
- name: Build | ||
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" | ||
run: cabal v2-build ghcide --flags="ghc-patched-unboxed-bytecode test-exe executable bench-exe" | ||
|
||
flags_post_job: | ||
if: always() | ||
|