Skip to content

Commit 6b6e183

Browse files
committed
Github actions: build on several macOS versions
1 parent 779406b commit 6b6e183

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ jobs:
88
fail-fast: false
99
matrix:
1010
os:
11-
- "macos-12" # latest
12-
# - "macos-13" disabled, because it doesn't work due to some problem with Homebrew
11+
- "macos-12"
12+
- "macos-13"
13+
- "macos-14" # latest
1314
runs-on: ${{ matrix.os }}
1415

1516
env:
@@ -21,13 +22,11 @@ jobs:
2122
- name: Install prerequisites
2223
run: |
2324
brew install boost lua nlohmann-json opencv pandoc postgis potrace
24-
pip3 install psycopg2 behave osmium
25-
pg_ctl -D /usr/local/var/postgres init
26-
pg_ctl -D /usr/local/var/postgres start
27-
# Work around homebrew postgresql installation screw-up, see
28-
# https://github.com/actions/runner-images/issues/6176
29-
ln -s $(pg_config --libdir)/* /usr/local/lib/ || true
30-
ln -s $(pg_config --includedir)/* /usr/local/include/
25+
# --break-system-packages is needed on macOS 14
26+
pip3 install --break-system-packages psycopg2 behave osmium
27+
mkdir ~/postgres
28+
pg_ctl -D ~/postgres init
29+
pg_ctl -D ~/postgres start
3130
shell: bash
3231

3332
- name: Setup database

0 commit comments

Comments
 (0)