First Commit
This commit is contained in:
commit
8a6c7106e3
1312 files changed
+425396
No files matched your search
@@ -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,19 @@
|
||||
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,20 @@
|
||||
name: Install apt packages on Ubuntu/Debian
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Install packages
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -yq \
|
||||
doxygen \
|
||||
libboost-dev \
|
||||
libgdal-dev \
|
||||
libgeos++-dev \
|
||||
liblz4-dev \
|
||||
libproj-dev \
|
||||
libsparsehash-dev \
|
||||
ruby-json \
|
||||
spatialite-bin
|
||||
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