Skip to content

Commit

Permalink
CI: remove all Cabal v1-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
lyokha committed Apr 15, 2024
1 parent 04f2862 commit f4a8f76
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,7 @@ jobs:
cabal --version
echo "$(ghc --version) "`
`"[$(ghc --print-project-git-commit-id 2>/dev/null || echo '?')]"
if echo "$CABALVER" | grep -q '^3\.[0-5]\.'
then
cabal v1-update
else
cabal v2-update
fi
cabal v1-install ngx-export-tools
cabal update
if [ "$NGXVER" = head ]
then
Expand Down Expand Up @@ -117,12 +111,6 @@ jobs:
export TEST_NGINX_LOAD_MODULES="$NGX_MODULE_PATH/ngx_log_plugin_module.so"
cd -
cabal v1-configure
cabal v1-build -v --ghc-options=-ddump-splices
cabal v2-sdist --builddir=dist
SRC_TGZ=$(cabal info . | awk '{print $2; exit}').tar.gz &&
(cd dist/sdist && cabal v1-install --force-reinstalls "$SRC_TGZ")
echo "$GHCVER" | grep -q '^8\.' &&
LINKRTS="LINKRTS=-lHSrts_thr-ghc$(ghc --numeric-version)"
Expand Down

0 comments on commit f4a8f76

Please sign in to comment.