Skip to content

Commit

Permalink
Update crates-io.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EvolveArt committed Feb 6, 2025
1 parent 70ead27 commit 75a09f1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/crates-io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,15 @@ jobs:
profile: "minimal"
override: true

- name: "Install PostgreSQL dependencies (macOS)"
if: matrix.os == 'macos-latest'
run: |
brew install libpq
brew link --force libpq
echo 'export PATH="/usr/local/opt/libpq/bin:$PATH"' >> ~/.zshrc
export LDFLAGS="-L/usr/local/opt/libpq/lib"
export CPPFLAGS="-I/usr/local/opt/libpq/include"
- name: "Build crate"
run: |
cargo build --package ${{ needs.crate-info.outputs.crate }} --all-targets
Expand Down

0 comments on commit 75a09f1

Please sign in to comment.