diff options
author | Hécate <hecate+gitlab@glitchbra.in> | 2020-12-30 00:48:38 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-03-25 04:52:41 -0400 |
commit | 0029df2bd52aa7f93e2254a369428e4261e5d3ae (patch) | |
tree | b16cb0ceae679a978177090f48e12836c0782886 /.gitlab-ci.yml | |
parent | aa99f516431745c5b9261db56a5ef4a3b333ce8c (diff) | |
download | haskell-0029df2bd52aa7f93e2254a369428e4261e5d3ae.tar.gz |
Add compiler linting to CI
This commit adds the `lint:compiler` Hadrian target to the CI runner.
It does also fixes hints in the compiler/ and libraries/base/ codebases.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e60f8d1c3a..159788011a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -375,6 +375,15 @@ lint-base: - .gitlab/ci.sh run_hadrian stage1:lib:base - .gitlab/ci.sh run_hadrian lint:base +lint-compiler: + extends: .lint-params + variables: + BUILD_FLAVOUR: default + script: + - .gitlab/ci.sh setup + - .gitlab/ci.sh configure + - .gitlab/ci.sh run_hadrian lint:compiler + ############################################################ # Validation via Pipelines (make) ############################################################ |