mirror of
https://github.com/openstreetmap/mod_tile.git
synced 2025-07-25 15:04:30 +00:00
Updated Docs/Dockerfiles/GitHub actions after switching CMake to relative install paths (#412)
This commit is contained in:
@ -32,14 +32,16 @@ WORKDIR /tmp/mod_tile_build
|
||||
RUN export CMAKE_BUILD_PARALLEL_LEVEL=$(nproc) && \
|
||||
cmake -B . -S /tmp/mod_tile_src \
|
||||
-DCMAKE_BUILD_TYPE:STRING=Release \
|
||||
-DCMAKE_INSTALL_LOCALSTATEDIR=/var \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_RUNSTATEDIR=/run \
|
||||
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
|
||||
-DENABLE_TESTS:BOOL=ON && \
|
||||
cmake --build .
|
||||
RUN export CTEST_PARALLEL_LEVEL=$(nproc) && \
|
||||
export DESTDIR=/tmp/mod_tile && \
|
||||
ctest --output-on-failure && \
|
||||
(cmake --install . --prefix /usr --strip || make DESTDIR=${DESTDIR} install/strip) && \
|
||||
mv /tmp/mod_tile/var/run /tmp/mod_tile/run
|
||||
|
||||
(cmake --install . --strip || make DESTDIR=${DESTDIR} install/strip)
|
||||
|
||||
# Runner
|
||||
FROM archlinux:latest as runner
|
||||
|
Reference in New Issue
Block a user