Skip to content

Commit

Permalink
Add openssl to non-Nix macos-latest CI
Browse files Browse the repository at this point in the history
  • Loading branch information
enobayram committed May 1, 2024
1 parent 63cdbd2 commit 09fa90a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,22 @@ jobs:
ghc --version
cabal --version
# System dependencies
- if: startsWith(matrix.os, 'macOS')
name: Set up system depdendencies
run: |
brew install openssl
cat > cabal.project.local <<EOF
package *
extra-include-dirs:
/opt/homebrew/include
/opt/homebrew/opt/openssl/include
extra-lib-dirs:
/opt/homebrew/lib
/opt/homebrew/opt/openssl/lib
EOF
# dist cache
# the cache-key forces uploading of cache at least once a day, which ensures that
# upstream dependency changes are captured regularly.
Expand Down

0 comments on commit 09fa90a

Please sign in to comment.