Skip to content

Commit

Permalink
Regenerate CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nitinprakash96 committed Aug 22, 2024
1 parent b3c8fa0 commit 333a0fd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ jobs:
run: |
touch cabal.project
echo "packages: $GITHUB_WORKSPACE/source/./azure-auth" >> cabal.project
echo "packages: $GITHUB_WORKSPACE/source/./azure-email" >> cabal.project
echo "packages: $GITHUB_WORKSPACE/source/./azure-key-vault" >> cabal.project
echo "packages: $GITHUB_WORKSPACE/source/./azure-blob-storage" >> cabal.project
cat cabal.project
Expand All @@ -155,6 +156,8 @@ jobs:
run: |
PKGDIR_azure_auth="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/azure-auth-[0-9.]*')"
echo "PKGDIR_azure_auth=${PKGDIR_azure_auth}" >> "$GITHUB_ENV"
PKGDIR_azure_email="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/azure-email-[0-9.]*')"
echo "PKGDIR_azure_email=${PKGDIR_azure_email}" >> "$GITHUB_ENV"
PKGDIR_azure_key_vault="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/azure-key-vault-[0-9.]*')"
echo "PKGDIR_azure_key_vault=${PKGDIR_azure_key_vault}" >> "$GITHUB_ENV"
PKGDIR_azure_blob_storage="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/azure-blob-storage-[0-9.]*')"
Expand All @@ -163,17 +166,20 @@ jobs:
touch cabal.project
touch cabal.project.local
echo "packages: ${PKGDIR_azure_auth}" >> cabal.project
echo "packages: ${PKGDIR_azure_email}" >> cabal.project
echo "packages: ${PKGDIR_azure_key_vault}" >> cabal.project
echo "packages: ${PKGDIR_azure_blob_storage}" >> cabal.project
echo "package azure-auth" >> cabal.project
echo " ghc-options: -Werror=missing-methods" >> cabal.project
echo "package azure-email" >> cabal.project
echo " ghc-options: -Werror=missing-methods" >> cabal.project
echo "package azure-key-vault" >> cabal.project
echo " ghc-options: -Werror=missing-methods" >> cabal.project
echo "package azure-blob-storage" >> cabal.project
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: $_ installed\n" unless /^(azure-auth|azure-blob-storage|azure-key-vault)$/; }' >> cabal.project.local
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(azure-auth|azure-blob-storage|azure-email|azure-key-vault)$/; }' >> cabal.project.local
cat cabal.project
cat cabal.project.local
- name: dump install plan
Expand All @@ -200,6 +206,8 @@ jobs:
run: |
cd ${PKGDIR_azure_auth} || false
${CABAL} -vnormal check
cd ${PKGDIR_azure_email} || false
${CABAL} -vnormal check
cd ${PKGDIR_azure_key_vault} || false
${CABAL} -vnormal check
cd ${PKGDIR_azure_blob_storage} || false
Expand Down

0 comments on commit 333a0fd

Please sign in to comment.