Skip to content

Commit

Permalink
don't add constraint when running CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kokobd committed Oct 26, 2024
1 parent 033dd29 commit f75d76e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ jobs:
echo " ghc-options: -Werror=missing-methods" >> cabal.project
cat >> cabal.project <<EOF
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(cabal-hoogle)$/; }' >> cabal.project.local
cat cabal.project
cat cabal.project.local
- name: dump install plan
Expand Down Expand Up @@ -199,10 +198,6 @@ jobs:
- name: haddock
run: |
$CABAL v2-haddock --disable-documentation --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
- name: unconstrained build
run: |
rm -f cabal.project.local
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
- name: save cache
uses: actions/cache/save@v4
if: always()
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,13 @@ cabal-hoogle run -- search catMaybes
### More Options

Run `cabal-hoogle --help` to see more options.

## Contributing

The CI is managed by [`haskell-ci`](https://github.com/haskell-CI/haskell-ci).
After adding support of any new GHC version, run the following command using the
latest `haskell-ci` executable to regenerate a new GHA workflow file.

```haskell
haskell-ci regenerate --no-unconstrained --installed=-all
```

0 comments on commit f75d76e

Please sign in to comment.