File tree Expand file tree Collapse file tree 4 files changed +2
-53
lines changed Expand file tree Collapse file tree 4 files changed +2
-53
lines changed Original file line number Diff line number Diff line change @@ -3,50 +3,6 @@ name: CI
33on : [ push, pull_request ]
44
55jobs :
6- macos :
7- strategy :
8- fail-fast : false
9- matrix :
10- os :
11- - " macos-13"
12- - " macos-14" # latest
13- runs-on : ${{ matrix.os }}
14-
15- env :
16- LUA_VERSION : 5.4
17-
18- steps :
19- - uses : actions/checkout@v4
20-
21- - name : Install prerequisites
22- run : |
23- # Workaround for github/brew problem. Python is already install
24- # on the Github action runner and then homebrew comes along...
25- # See also: https://github.com/Homebrew/homebrew-core/issues/173191
26- rm -f /usr/local/bin/2to3* /usr/local/bin/idle3* /usr/local/bin/pydoc3* /usr/local/bin/python3*
27- brew install boost lua nlohmann-json opencv pandoc postgis potrace python3
28- # --break-system-packages is needed on macOS 14
29- pip3 install --break-system-packages psycopg2 behave osmium
30- mkdir ~/postgres
31- pg_ctl -D ~/postgres init
32- pg_ctl -D ~/postgres start
33- shell : bash
34-
35- - name : Setup database
36- run : |
37- psql -d postgres -c 'CREATE EXTENSION postgis'
38- psql -d postgres -c 'CREATE EXTENSION hstore'
39- psql -d postgres -c 'SELECT PostGIS_Full_Version()'
40- mkdir -m 700 $GITHUB_WORKSPACE/tablespacetest
41- psql -d postgres -c "CREATE TABLESPACE tablespacetest LOCATION '$GITHUB_WORKSPACE/tablespacetest'"
42- shell : bash
43-
44- - uses : ./.github/actions/linux-cmake
45- - uses : ./.github/actions/build-and-test
46- with :
47- test-wrapper : ' '
48- env :
49- PGHOST : /tmp
506
517 ubuntu20-pg96-gcc10-jit :
528 runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change @@ -330,7 +330,6 @@ if (ENABLE_INSTALL)
330330 install (FILES default.style empty.style DESTINATION share/osm2pgsql)
331331 install (PROGRAMS scripts/osm2pgsql-replication DESTINATION bin)
332332 if (BUILD_GEN)
333- install (TARGETS osm2pgsql-gen COMPONENT gen EXCLUDE_FROM_ALL DESTINATION bin)
334- add_custom_target (install -gen cmake --install ${CMAKE_BINARY_DIR} --component gen)
333+ install (TARGETS osm2pgsql-gen DESTINATION bin)
335334 endif ()
336335endif ()
Original file line number Diff line number Diff line change @@ -150,12 +150,6 @@ The compiled files can be installed with
150150sudo make install
151151```
152152
153- To install the experimental ` osm2pgsql-gen ` binary use
154-
155- ``` sh
156- sudo make install-gen
157- ```
158-
159153By default, the Release build with debug info is created and no tests are
160154compiled. You can change that behavior by using additional options like
161155following:
Original file line number Diff line number Diff line change @@ -65,6 +65,6 @@ if(ENABLE_INSTALL)
6565 install (FILES osm2pgsql.1 DESTINATION share/man/man1)
6666 install (FILES osm2pgsql-replication.1 DESTINATION share/man/man1)
6767 if (BUILD_GEN)
68- install (FILES osm2pgsql-gen.1 COMPONENT gen EXCLUDE_FROM_ALL DESTINATION share/man/man1)
68+ install (FILES osm2pgsql-gen.1 DESTINATION share/man/man1)
6969 endif ()
7070endif ()
You can’t perform that action at this time.
0 commit comments