Skip to content

Commit

Permalink
CI: flags: post-review fxs
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-Latukha committed Dec 29, 2021
1 parent dc5c389 commit 312db71
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/flags.yml
Expand Up @@ -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/skip-duplicate-actions@v3.4.1
with:
cancel_others: false
paths_ignore: '[ "hls-test-utils/**"
, "plugins/**"
, "src/**"
, "exe/**"
, "test/**"
, "shake-bench/**"
]'

flags:
if: needs.pre_job.outputs.should_skip != 'true'
Expand Down Expand Up @@ -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"

Expand All @@ -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()
Expand Down

0 comments on commit 312db71

Please sign in to comment.