diff options
| -rw-r--r-- | minici.cabal | 11 | ||||
| -rw-r--r-- | minici.yaml | 8 |
2 files changed, 4 insertions, 15 deletions
diff --git a/minici.cabal b/minici.cabal index 97c6b97..2170785 100644 --- a/minici.cabal +++ b/minici.cabal @@ -23,11 +23,6 @@ extra-doc-files: README.md CHANGELOG.md -flag ci - description: Options for CI testing - default: False - manual: True - source-repository head type: git location: https://code.erebosprotocol.net/minici @@ -40,12 +35,6 @@ executable minici -threaded -fdefer-typed-holes - if flag(ci) - ghc-options: - -Werror - -- sometimes needed for backward/forward compatibility: - -Wno-error=unused-imports - other-modules: Command Command.Checkout diff --git a/minici.yaml b/minici.yaml index d08160d..6e87109 100644 --- a/minici.yaml +++ b/minici.yaml @@ -1,8 +1,8 @@ job build: - shell: - - cabal build -fci - - mkdir build - - cp $(cabal list-bin minici) build/minici + shell: | + cabal build --ghc-options='-Werror -Wno-error=unused-imports' + mkdir build + cp $(cabal list-bin minici) build/minici artifact bin: path: build/minici |