Skip to content

Commit 797ceaa

Browse files
authored
Merge pull request #1754 from lonvia/fix-actions
Actions: work around broken macos postgresql
2 parents 08d1e1c + d0c4db2 commit 797ceaa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ jobs:
1616
run: |
1717
brew install lua boost postgis pandoc
1818
pip3 install psycopg2 behave
19+
pg_ctl -D /usr/local/var/postgres init
1920
pg_ctl -D /usr/local/var/postgres start
21+
# Work around homebrew postgresql installation screw-up, see
22+
# https://github.com/actions/runner-images/issues/6176
23+
ln -s $(pg_config --libdir)/* /usr/local/lib/ || true
24+
ln -s $(pg_config --includedir)/* /usr/local/include/
2025
shell: bash
2126

2227
- name: Setup database

0 commit comments

Comments
 (0)