Update libosmium to 2.18.0. Fix problem with Docker image build. (#6303)
This commit is contained in:
committed by
GitHub
parent
51a8486375
commit
9688e48ad1
@@ -0,0 +1,10 @@
|
||||
name: Windows Build
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Build
|
||||
run: cmake --build . --config Release --verbose
|
||||
shell: bash
|
||||
working-directory: build
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
name: Build
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Build
|
||||
run: make VERBOSE=1
|
||||
shell: bash
|
||||
working-directory: build
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
name: Windows CMake
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Create build directory
|
||||
run: mkdir build
|
||||
shell: bash
|
||||
- name: Configure
|
||||
run: cmake -LA .. -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DBUILD_HEADERS=OFF -DBUILD_BENCHMARKS=ON -DOsmium_DEBUG=TRUE -DPROTOZERO_INCLUDE_DIR=${GITHUB_WORKSPACE}/../protozero/include
|
||||
shell: bash
|
||||
working-directory: build
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
name: CMake
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Create build directory
|
||||
run: mkdir build
|
||||
shell: bash
|
||||
- name: Configure
|
||||
run: |
|
||||
cmake -LA .. \
|
||||
-DBUILD_DATA_TESTS=ON \
|
||||
-DUSE_CPP_VERSION=${CPP_VERSION} \
|
||||
-DWITH_PROJ=${WITH_PROJ} \
|
||||
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
|
||||
-DPROTOZERO_INCLUDE_DIR=${GITHUB_WORKSPACE}/../protozero/include
|
||||
shell: bash
|
||||
working-directory: build
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
name: Windows Test
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Test
|
||||
run: ctest --output-on-failure -C Release
|
||||
shell: bash
|
||||
working-directory: build
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
name: ctest
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Test
|
||||
run: ctest --output-on-failure
|
||||
shell: bash
|
||||
working-directory: build
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
name: Install homebrew packages on macOS
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Install packages
|
||||
run: |
|
||||
brew install \
|
||||
boost \
|
||||
gdal \
|
||||
google-sparsehash
|
||||
shell: bash
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
name: Install Protozero from git
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Install from git
|
||||
run: git clone --quiet --depth 1 https://github.com/mapbox/protozero.git ../protozero
|
||||
shell: bash
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
name: Install apt packages on Ubuntu/Debian
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Install packages
|
||||
run: |
|
||||
sudo apt-get update -q
|
||||
sudo apt-get install -yq \
|
||||
doxygen \
|
||||
libboost-dev \
|
||||
libgdal-dev \
|
||||
libgeos++-dev \
|
||||
liblz4-dev \
|
||||
libproj-dev \
|
||||
libsparsehash-dev \
|
||||
ruby-json \
|
||||
spatialite-bin
|
||||
test "$CC" = clang-6.0 && sudo apt-get install -yq --no-install-suggests --no-install-recommends clang-6.0
|
||||
test "$CC" = clang-8 && sudo apt-get install -yq --no-install-suggests --no-install-recommends clang-8
|
||||
test "$CC" = clang-13 && sudo apt-get install -yq --no-install-suggests --no-install-recommends clang-13
|
||||
shell: bash
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
name: Install vcpkg packages on Windows
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Install packages
|
||||
run: |
|
||||
vcpkg install \
|
||||
boost-crc:x64-windows \
|
||||
boost-variant:x64-windows \
|
||||
bzip2:x64-windows \
|
||||
expat:x64-windows \
|
||||
lz4:x64-windows \
|
||||
sparsehash:x64-windows \
|
||||
zlib:x64-windows
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user