Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from valhalla:master #8

Open
wants to merge 198 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
198 commits
Select commit Hold shift + click to select a range
381bce0
Add time zone info to `/route` and `sources_to_targets` responses (#4…
chrstnbwnkl Jan 20, 2024
2b2353e
clamp truck speed to 90 kph (#4493)
chrstnbwnkl Jan 23, 2024
84f2259
try to assume gha bot identity (#4517)
chrstnbwnkl Jan 23, 2024
03fbd62
CI: Run build_and_publish job only if repository owner is valhalla (#…
mahdihasnat Jan 23, 2024
8074e8e
our cmake find modules are not robust to pkgconfig installations (#4253)
nilsnolde Jan 24, 2024
4fb198d
migrate CI to M1 (#4500)
nilsnolde Jan 24, 2024
90ae30e
Bugfix of issue: Config singleton multiple instantiation issue #4521 …
akesmarki Jan 24, 2024
5fadcb6
added aggregation logic to filter stage of tile building (#4512)
gknisely Jan 25, 2024
57e5e14
Bump tz to 2023d (#4519)
github-actions[bot] Jan 25, 2024
0de56b5
Fix crash using costmatrix (and potentially timedistancebssmatrix) (#…
dnesbitt61 Jan 25, 2024
69a6bfc
clean up cmake (#4516)
nilsnolde Jan 29, 2024
fd90ec4
GHA for Windows (#4533)
nilsnolde Jan 29, 2024
154c47f
Bugfix: Prevent GetShortcut to run into an infinite loop. (#4532)
lakovacs2 Jan 29, 2024
4d3d896
Refactor matrix_action (#4535)
nilsnolde Jan 31, 2024
c9c2418
try resetting the cache in win ci
nilsnolde Feb 1, 2024
3a92152
second pass for CostMatrix (#4536)
nilsnolde Feb 2, 2024
db0b6a1
Remove warnings from #4493 (#4555)
cvvergara Feb 4, 2024
453d3ef
Remove warnings from pr4536 (#4556)
cvvergara Feb 4, 2024
82d8215
Nn matrix geometry try2 (#4489)
cvvergara Feb 5, 2024
5ce3aa7
bump cxxopts to v3 (major version upgrade) (#4541)
nilsnolde Feb 5, 2024
21783fc
Make vendored libraries optional (#4544)
nilsnolde Feb 5, 2024
e406c10
move osx ci to github actions (#4554)
nilsnolde Feb 5, 2024
d642158
fix config generator with thor.costmatrix_allow_second_pass (#4567)
nilsnolde Feb 6, 2024
1c2ff98
Add missing `break` to graphconstants.h (#4577)
r-barnes Feb 9, 2024
129c55b
attempt to fix infinite loop in isochrones generation (#4547)
kevinkreiser Feb 9, 2024
cd928ac
OSRM Serializer: Adds voice instructions (#4506)
eikes Feb 11, 2024
edb4ab0
fiddling with tar_index test failures (#4490)
kevinkreiser Feb 11, 2024
957c06e
fix win vcpkg caching (#4573)
nilsnolde Feb 11, 2024
ba5730e
remove bench (#4560)
nilsnolde Feb 11, 2024
30068b1
Aggregation updates: update opposing local idx after aggregating the …
gknisely Feb 13, 2024
e7a5c16
Blind user mode. (#3694)
grzezlo Feb 14, 2024
efff65d
Fix roundoff issue in Tiles (#4585)
dnesbitt61 Feb 15, 2024
2a0ed14
use range macros in costings consistently (#4587)
nilsnolde Feb 19, 2024
812386f
Isochrone PBF output and multipolygon support (#4575)
chrstnbwnkl Feb 19, 2024
5ce3c3a
refactor how costing options are parsed (#4589)
nilsnolde Feb 19, 2024
5d250d2
Update CHANGELOG.md (#4590)
nilsnolde Feb 19, 2024
1fa1e01
Remove warnings test gurka wunused variable (#4598)
cvvergara Feb 22, 2024
055db1a
Fix out-of-range linestrings in expansion results (#4603)
chrstnbwnkl Feb 23, 2024
3b824c9
make shortcut logging more useful (#4607)
nilsnolde Feb 24, 2024
f025e81
filter out tagged values in intersecting edge street names (#4604)
chrstnbwnkl Feb 27, 2024
6648fb9
Osmnode size reduction (#4605)
gknisely Feb 27, 2024
3794239
GeoTIFF serialization for isochrones (#4594)
chrstnbwnkl Mar 4, 2024
482bcf2
print stages in valhalla_build_tiles --help (#4611)
nilsnolde Mar 4, 2024
929718b
Conflict with signinfo's temporary linguistic node sequence file caus…
gknisely Mar 12, 2024
7f4cc6f
fix CostMatrix for trivial routes with oneways (#4626)
nilsnolde Mar 13, 2024
40ce71b
use a singleton pattern to register the gdal driver once in one place…
kevinkreiser Mar 13, 2024
28eaf7a
"soft" ignore restrictions (#4606)
chrstnbwnkl Mar 13, 2024
663e04e
add libgdal to final docker image (#4629)
nilsnolde Mar 14, 2024
b6bad37
fixed CostMatrix shapes for routes against trivial oneways (#4633)
nilsnolde Mar 18, 2024
181eed9
Simple warning fix on test gurka (#4637)
cvvergara Mar 19, 2024
dff7005
Bump tz to 2024a (#4643)
github-actions[bot] Mar 22, 2024
b491610
Fix unused variable test dir simple fixes (#4646)
cvvergara Mar 22, 2024
6fb3eb7
FIXED Issue #4652: src/thor/unidirectional_astar.cc doesnt work for d…
TheTonda Mar 24, 2024
962719a
some bug fixes ported over from #4638 (#4642)
nilsnolde Mar 25, 2024
6f9f637
no need to search for GDAL when building data (#4651)
nilsnolde Mar 26, 2024
f29329d
Fix warnings test dir simple fixes more files (#4660)
cvvergara Mar 26, 2024
0a36ae1
Marking unused code (#4661)
cvvergara Mar 26, 2024
58929bd
(test/gurka/gurka.*) Using C++17 filesystem (#4662)
cvvergara Mar 26, 2024
1ae956d
(test/gurka/) Using C++17 filesystem with few changes (#4664)
cvvergara Mar 29, 2024
fdf1204
truck penalty for hgv=no edges (#4650)
nilsnolde Apr 2, 2024
4c4dd99
Significantly improve performance of graphbuilder (#4669)
lseelenbinder Apr 3, 2024
9338820
improved turn by turn api reference (#4675)
Trietes Apr 4, 2024
2b438ee
Remove filesystem h from test simple removal 2 (#4668)
cvvergara Apr 5, 2024
fca9135
contract edges with differing non-conditional access restrictions (#4…
nilsnolde Apr 8, 2024
1b864c9
Add vcpkg overlay port for xz package to fix windows CI workflow (#4…
michaelhrabanek Apr 10, 2024
afd0161
astar costmatrix (#4671)
nilsnolde Apr 12, 2024
13c6580
Add missing docs (#4687)
Trietes Apr 15, 2024
169b88e
last missing docs (hopefully) (#4690)
nilsnolde Apr 16, 2024
e73131c
Consider more forward & backward tags (#4686)
chrstnbwnkl Apr 16, 2024
58241a2
change costmatrix max_distance threshold to a distance threshold inst…
nilsnolde Apr 17, 2024
c835e2c
typo in docs
kevinkreiser Apr 19, 2024
c8f4773
PBF support for `/expansion` (#4614)
chrstnbwnkl Apr 22, 2024
56785d0
label third_party includes as -isystem in test/CMakeLists.txt (#4698)
nilsnolde Apr 23, 2024
812383f
Address some "unused code" errors (#4701)
michaelkirk Apr 24, 2024
9888d8e
rm unused import fixes building tests without prime_server (#4705)
michaelkirk Apr 24, 2024
16fecc1
Correctly set has_highway, has_ferry and has_toll attributes when dir…
michaelhrabanek Apr 25, 2024
0636e37
Added elapsed_cost to map matching json output (#4709)
NorekZ May 2, 2024
651a515
test-add workflow to auto-update the fossgis instances (#4716)
nilsnolde May 2, 2024
629f0dd
always save vcpkg cache (#4719)
nilsnolde May 5, 2024
1594fe9
Remove tile_extract from config when creating stats (#4722)
chrstnbwnkl May 7, 2024
76f316c
add error when we fail to find any connection in matrix (#4718)
nilsnolde May 8, 2024
6fbe96e
auto-update the fossgis instances (#4717)
nilsnolde May 8, 2024
26cfae4
add some error communication & handling to `valhalla_ingest_transit` …
nilsnolde May 10, 2024
3463f1a
Fix inconsistency in graph.lua for motor_vehicle_node (#4724)
michaelhrabanek May 13, 2024
c14d3ac
fix echo statement for linux/macos in building.md (#4730)
martin-schlossarek May 14, 2024
78c1701
Removed voice & banner instructions from last step and added ssmlAnno…
Trietes Jun 4, 2024
4f6ef05
Adds documentation for `ignore_oneways` option (#4743)
eikes Jun 5, 2024
48b339b
add deadend to directededge json (#4751)
chrstnbwnkl Jun 5, 2024
950b4c4
Add missing include in `baldr/admin.h` (#4766)
chrstnbwnkl Jun 14, 2024
2985c08
Fix old code that allows bicycle access on footway due to sac_scale=h…
dnesbitt61 Jun 26, 2024
7be6e23
log warning in case of attempted multi-file graph build (#4782)
chrstnbwnkl Jun 26, 2024
7725f8a
Fix misleading map matching documentation (#4785)
ianthetechie Jun 28, 2024
f25bbf4
fix build_elevation script help string (#4786)
chrstnbwnkl Jul 1, 2024
cbb4e98
Add `--inline-config` arg to `valhalla_build_elevation` (#4787)
chrstnbwnkl Jul 1, 2024
45bd34a
OSRM serializer: Add voiceLocale to route if voice_instructions optio…
eikes Jul 10, 2024
bfc3460
Handle list arguments with nargs instead of list type when overriding…
asmyth01 Jul 12, 2024
38fc9ef
Improvements to /expansion (#4728)
michaelhrabanek Jul 15, 2024
9725261
Restructure `top_speed` for truck (#4793)
chrstnbwnkl Jul 15, 2024
66bb9a7
fix trivial route for CostMatrix (#4634)
nilsnolde Jul 22, 2024
e5e695f
Add `expansion_type` property to `/expansion` (#4784)
chrstnbwnkl Jul 22, 2024
1b5d6f0
`use_truck_route` parameter (#4809)
chrstnbwnkl Jul 25, 2024
270163c
costmatrix cleanup was not resetting properly (#4817)
chrstnbwnkl Jul 27, 2024
5c1eb84
Fix expansion callback (#4821)
chrstnbwnkl Jul 30, 2024
2272caf
Remove manual timeouts of Loki and Skadi service tests (#4823)
raviqqe Jul 31, 2024
94745de
Enable edge.country_crossing to be traced (#4825)
johannes-no Aug 1, 2024
f0d77e0
Unification of turn costs for ramps and roundabouts (#4827)
johannes-no Aug 2, 2024
f580be3
Add `boost` to the building from source for macos doc instruction (#4…
kinkard Aug 4, 2024
58a289d
Remove unused headers (#4829)
kinkard Aug 4, 2024
e0f33e6
Fix oneway ferry connections classification (#4828)
kinkard Aug 5, 2024
75cef6a
Add documentation about alternates in trace_route (#4832)
chrstnbwnkl Aug 6, 2024
8748f41
fix location search_filter for node snaps (#4835)
kevinkreiser Aug 7, 2024
5faeff8
fix: blocked route reclassification (#4854)
kinkard Aug 17, 2024
b05c9d0
Fix `(Nov - Mar)` condition parsing (#4857)
kinkard Aug 20, 2024
743d5c9
docker uses newer ubuntu 24.04 (#4805)
kevinkreiser Aug 20, 2024
c435717
release version 3.5.0 (#4860)
kevinkreiser Aug 21, 2024
bb8c8e0
Update CHANGELOG.md
kevinkreiser Aug 21, 2024
6c79f86
Update CHANGELOG.md
kevinkreiser Aug 21, 2024
572c334
Update CHANGELOG.md
kevinkreiser Aug 21, 2024
fdcbb2c
Improve voice instructions (#4756)
Trietes Aug 28, 2024
e39ce9c
lint
kevinkreiser Aug 28, 2024
5f4f4e9
`clear_reserved_memory_` uninitialized in TD Matrix (#4869)
chrstnbwnkl Aug 29, 2024
5354107
Add docstring for preferred_layer location parameter (#4867)
chrstnbwnkl Aug 29, 2024
aba45e1
Enable edge.forward to be traced (#4876)
johannes-no Sep 4, 2024
35ba52b
Update api-reference.md
kevinkreiser Sep 5, 2024
5a84979
Provide conditional speed limits from "maxspeed:conditional" in `/loc…
kinkard Sep 11, 2024
3a38504
Fix logging properly in valhalla_export_edges (#4892)
ianthetechie Sep 15, 2024
523847c
Update update_public_servers.yml
chrstnbwnkl Sep 19, 2024
3bdfc5e
Update update_public_servers.yml
chrstnbwnkl Sep 19, 2024
9a1f2b3
Update update_public_servers.yml
chrstnbwnkl Sep 19, 2024
d6de753
Update update_public_servers.yml
chrstnbwnkl Sep 19, 2024
ca3c2f0
Update update_public_servers.yml
chrstnbwnkl Sep 19, 2024
4d311dc
Update update_public_server.sh
chrstnbwnkl Sep 19, 2024
c411feb
Update update_public_server.sh
chrstnbwnkl Sep 19, 2024
ac0cc3d
Fix for bug #4880 (#4881)
girishyadav20 Sep 19, 2024
5f48bfa
perf: Iterate over only `kLandmark` tagged values in `AddLandmarks` (…
kinkard Sep 23, 2024
0c84812
Loop match walk or snap fix (#4895)
ianthetechie Sep 24, 2024
be5a4d5
fix: `-Wdefaulted-function-deleted` warning/error in `NarrativeBuilde…
kinkard Sep 30, 2024
a01d80c
Fix bullet point in date_time request option reference (#4914)
chrisfischer Sep 30, 2024
e3118f0
Support multiple levels and level ranges (#4879)
chrstnbwnkl Oct 8, 2024
da25217
dont use static_cast for negative varint encoding (#4925)
kevinkreiser Oct 8, 2024
7516a10
remove conditional speeds temp file (#4928)
chrstnbwnkl Oct 10, 2024
d377c8a
prep for release (#4931)
kevinkreiser Oct 10, 2024
1967e33
Fix incremental_build_tiles script (#4909)
eikes Oct 14, 2024
b71dc96
fix: Fix ability to use Valhalla via cmake `add_subdirectory` (#4930)
kinkard Oct 17, 2024
40e898e
Level location filtering (#4926)
chrstnbwnkl Oct 17, 2024
21dd8eb
Fix macOS CI (#4945)
chrstnbwnkl Oct 24, 2024
531206c
log invalid level as warning (#4946)
chrstnbwnkl Oct 24, 2024
8423bc0
Fix transit build (#4943)
chrstnbwnkl Oct 24, 2024
329c4e6
Consider smoothness in all profiles that use surface (#4949)
gknisely Oct 29, 2024
a9071e3
Hard avoids highway ferry (#4524)
ADMUKHE Oct 31, 2024
18984b4
Optionally add admin crossings to route response (#4941)
chrstnbwnkl Oct 31, 2024
23ca342
Generate level change info for `/route` response (#4942)
chrstnbwnkl Nov 5, 2024
0ce48a0
docs: remove second `ignore_closures` (#4957)
CommanderStorm Nov 8, 2024
61949e9
Improve steps maneuvers (#4960)
chrstnbwnkl Nov 11, 2024
c4681ef
Fix valhalla_benchmark-loki (#4981)
dnesbitt61 Nov 21, 2024
a257790
Fix macOS CI – homebrew links two versions of pkg-config (#4995)
chrstnbwnkl Nov 25, 2024
c5e9425
Fix win build workflow (#4993)
chrstnbwnkl Nov 25, 2024
a674f9f
CostMatrix: check for empty edgelabels when building date time info (…
chrstnbwnkl Nov 26, 2024
91a3855
strip the right python bindings location in docker build
kevinkreiser Nov 27, 2024
4e51f0c
fix: Double free crash during tiles build inside libxml2 on concurren…
kinkard Dec 3, 2024
a1f1824
More CI fixes (#5002)
chrstnbwnkl Dec 3, 2024
a4cefd2
improved elevator instructions (#4988)
chrstnbwnkl Dec 3, 2024
bcc8f84
docs: update outputs of the matrix service (#4962)
CommanderStorm Dec 4, 2024
215af9f
fix!: a typo in the matrix APIs response: `algorithm: "timedistancbss…
CommanderStorm Dec 4, 2024
08c30ef
Clean up admin building logs (#4903)
chrstnbwnkl Dec 4, 2024
d98654a
More trivial cost matrix fixes.... (#5001)
chrstnbwnkl Dec 5, 2024
d13ff2a
added macos workflow in readme (#5011)
chrstnbwnkl Dec 7, 2024
ce5b882
docs: fix issues caused bad communication/merge in #5000 (#5009)
CommanderStorm Dec 11, 2024
40e2f7e
Increase precision for leg/maneuver lengths in `/route` JSON serializ…
chrstnbwnkl Dec 16, 2024
e431e28
Make isochrone geotiff serialization use "north up" geotransform (#5019)
saranrapjs Dec 17, 2024
cda4478
Tag smoothness=impassable breaks pedestrian routing (#5023)
gknisely Dec 18, 2024
c0194f2
docs: ability to set `type=wheelchair` for pedestrian costing (#5032)
CommanderStorm Jan 7, 2025
04dfb13
Disable unused features in gdal vcpkg port (#5038)
chrstnbwnkl Jan 7, 2025
32cba4f
Customizable hierarchy limits (#5010)
chrstnbwnkl Jan 7, 2025
687b890
Test `valhalla_service.exe` in one shot mode on Windows GitHub action…
chrstnbwnkl Jan 7, 2025
9f06cb1
feat: Allow specifying custom `graph.lua` file name via `valhalla_bui…
kinkard Jan 8, 2025
5333ccb
Exclude executables from coverage (#5042)
chrstnbwnkl Jan 10, 2025
564e24f
Add maneuver bearings in route json response (#5024)
jthiard Jan 10, 2025
1f7797e
fix: warning: unqualified call to `std::move` [-Wunqualified-std-cast…
kinkard Jan 10, 2025
b40b23a
Enable manual docker builds tagged with branch name (#5044)
chrstnbwnkl Jan 13, 2025
6bd9101
Adds 'ignore_construction' flag to allow routing on construction ways…
eikes Jan 15, 2025
6436c31
Fix manual docker GHA (#5059)
chrstnbwnkl Jan 18, 2025
833a41b
Look for `allow_second_pass` in CostMatrix at new location in config …
chrstnbwnkl Jan 21, 2025
49360ca
add locales/en-AU (#5057)
andrewharvey Jan 22, 2025
3826f09
allow multi arch builds in manual docker build (#5064)
chrstnbwnkl Jan 22, 2025
d825888
Per level elevator penalty for node based elevators (#4973)
chrstnbwnkl Jan 22, 2025
301c78a
Slim down matrix pbf response (#5066)
chrstnbwnkl Jan 27, 2025
790054e
Support `"access:conditional"` conditional restrictions like `"access…
kinkard Jan 28, 2025
ed02c63
feat: Speed up pbf parsing by using libosmium (#5070)
kinkard Jan 28, 2025
d1f472a
restore ignoring hierarchy limits for bike/ped (#5080)
chrstnbwnkl Jan 30, 2025
868cb5d
Add headings and correlated lat/lon to verbose matrix output (#5072)
chrstnbwnkl Jan 31, 2025
c7d90fc
Use layer caching in Docker builds in GHA (#5082)
chrstnbwnkl Feb 6, 2025
58f2b3d
remove changelog from dockerignore (#5091)
chrstnbwnkl Feb 6, 2025
03bfa77
docs: update elevation docs output (#5040)
CommanderStorm Feb 11, 2025
3d8afd2
docs: update possible types for `travel_type` (#5033)
CommanderStorm Feb 11, 2025
33624f2
docs: remove the mention to `directions_options` from the optimised r…
CommanderStorm Feb 12, 2025
064dcae
Fix error: template-id not allowed for constructor in C++20 [-Werror=…
jeremiahpslewis Feb 17, 2025
46418a5
fix markdown syntax in readme (#5115)
jeremiahpslewis Feb 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
109 changes: 0 additions & 109 deletions .azure-pipelines.yml

This file was deleted.

93 changes: 21 additions & 72 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
version: 2.1

executors:
macos:
macos:
xcode: 13.4.1
environment:
HOMEBREW_NO_AUTO_UPDATE: 1
CXXFLAGS: -DGEOS_INLINE

commands:
mac_deps:
steps:
- run: brew install protobuf cmake ccache libtool libspatialite pkg-config luajit curl wget czmq lz4 spatialite-tools unzip
- run: sudo python3 -m pip install requests shapely "conan<2.0.0"
- run: git clone https://github.com/kevinkreiser/prime_server --recurse-submodules && cd prime_server && ./autogen.sh && ./configure && make -j8 && make install
linux_deps:
steps:
- run: ./scripts/install-linux-deps.sh
Expand All @@ -29,7 +16,7 @@ commands:
jobs:
lint-build-debug:
docker:
- image: ubuntu:23.04
- image: ubuntu:24.04
resource_class: xlarge
steps:
- checkout
Expand All @@ -39,28 +26,26 @@ jobs:
- run: git submodule sync && git submodule update --init
- restore_cache:
keys:
- ccache-debug-linux-x86_64-v3-{{ .Branch }}-{{ checksum "conanfile.txt" }}
- ccache-debug-linux-x86_64-v3-{{ checksum "conanfile.txt" }}
- ccache-debug-linux-x86_64-v3-{{ .Branch }}
- ccache-debug-linux-x86_64-v3-master
- ccache-debug-linux-x86_64-v3-
- run: |
mkdir build
# NOTE: -Werror disabled in CI, as we currently have >4k warnings.
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_COVERAGE=On -DCPACK_GENERATOR=DEB \
-DENABLE_COMPILER_WARNINGS=On -DENABLE_WERROR=Off -DCMAKE_EXPORT_COMPILE_COMMANDS=On \
-DCMAKE_CXX_FLAGS="-fuse-ld=lld" -DLOGGING_LEVEL=INFO -DENABLE_PYTHON_BINDINGS=On
-DCMAKE_CXX_FLAGS="-fuse-ld=lld" -DLOGGING_LEVEL=INFO -DENABLE_PYTHON_BINDINGS=On -DENABLE_GDAL=On
- run: python3 ./scripts/valhalla_build_config
- run: make -C build -j8
- run: make -C build utrecht_tiles
- run: make -C build -j8 tests
- run: make -C build -j8 benchmarks
- run: make -C build -j8 run-benchmarks
# Note: we save the cache here before doing linting so that if linting fails, we can rebuild quickly
# for follow-up fixes
- save_cache:
key: ccache-debug-linux-x86_64-v3-{{ .Branch }}-{{ checksum "conanfile.txt" }}-{{ epoch }}
key: ccache-debug-linux-x86_64-v3-{{ .Branch }}-{{ epoch }}
paths:
- ~/.ccache
- ~/.conan
- ~/.cache/ccache
- run: scripts/clang-tidy-only-diff.sh 4
- run: sudo make -C build install
- run: make -C build package
Expand All @@ -71,7 +56,7 @@ jobs:

build-release:
docker:
- image: ubuntu:23.04
- image: ubuntu:24.04
resource_class: xlarge
steps:
- checkout
Expand All @@ -81,32 +66,30 @@ jobs:
- run: git submodule sync && git submodule update --init
- restore_cache:
keys:
- ccache-release-linux-x86_64-v3-{{ .Branch }}-{{ checksum "conanfile.txt" }}
- ccache-release-linux-x86_64-v3-{{ checksum "conanfile.txt" }}
- ccache-release-linux-x86_64-v3-{{ .Branch }}
- ccache-release-linux-x86_64-v3-master
- ccache-release-linux-x86_64-v3
- run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=On -DENABLE_PYTHON_BINDINGS=On -DLOGGING_LEVEL=TRACE \
-DCPACK_GENERATOR=DEB -DCPACK_PACKAGE_VERSION_SUFFIX="-0ubuntu1-$(lsb_release -sc)" -DENABLE_SANITIZERS=ON \
-DBENCHMARK_ENABLE_WERROR=Off -DENABLE_SINGLE_FILES_WERROR=Off
-DENABLE_SINGLE_FILES_WERROR=Off -DENABLE_GDAL=On
- run: make -C build -j8
- run: make -C build utrecht_tiles
- run: make -C build -j8 tests
# leaks in glibc we cant control for
- run: export ASAN_OPTIONS=detect_leaks=0 && make -C build -j8 check
- run: make -C build -j8 benchmarks
- run: make -C build -j8 run-benchmarks
- save_cache:
key: ccache-release-linux-x86_64-v3-{{ .Branch }}-{{ checksum "conanfile.txt" }}-{{ epoch }}
key: ccache-release-linux-x86_64-v3-{{ .Branch }}-{{ epoch }}
paths:
- ~/.ccache
- ~/.conan
- ~/.cache/ccache
- run: sudo make -C build install
- run: make -C build package

build-arm-release:
docker:
- image: arm64v8/ubuntu:23.04
- image: arm64v8/ubuntu:24.04
resource_class: arm.xlarge
steps:
- checkout
Expand All @@ -116,56 +99,26 @@ jobs:
- run: git submodule sync && git submodule update --init
- restore_cache:
keys:
- ccache-release-linux-arm_64-v3-{{ .Branch }}-{{ checksum "conanfile.txt" }}
- ccache-release-linux-arm_64-v3-{{ checksum "conanfile.txt" }}
- ccache-release-linux-arm_64-v3-{{ .Branch }}
- ccache-release-linux-arm_64-v3-master
- ccache-release-linux-arm_64-v3
- run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=On -DENABLE_PYTHON_BINDINGS=On -DCPACK_GENERATOR=DEB \
-DCPACK_PACKAGE_VERSION_SUFFIX="-0ubuntu1-$(lsb_release -sc)" -DBENCHMARK_ENABLE_WERROR=Off -DENABLE_SINGLE_FILES_WERROR=Off
-DCPACK_PACKAGE_VERSION_SUFFIX="-0ubuntu1-$(lsb_release -sc)" -DENABLE_SINGLE_FILES_WERROR=Off -DENABLE_GDAL=On
- run: make -C build -j8
- run: make -C build utrecht_tiles
- run: make -C build -j8 tests
# leaks in glibc we cant control for
- run: export ASAN_OPTIONS=detect_leaks=0 && make -C build -j8 check
- run: make -C build -j8 benchmarks
- run: make -C build -j8 run-benchmarks
- save_cache:
key: ccache-release-linux-arm_64-v3-{{ .Branch }}-{{ checksum "conanfile.txt" }}-{{ epoch }}
key: ccache-release-linux-arm_64-v3-{{ .Branch }}
paths:
- ~/.ccache
- ~/.conan
- ~/.cache/ccache
- run: sudo make -C build install
- run: make -C build package

build-osx:
executor: macos
resource_class: macos.x86.medium.gen2
steps:
- checkout
- check_ci_lint
- mac_deps
- run: git submodule sync && git submodule update --init
- restore_cache:
keys:
- ccache-release-macos-{{ .Branch }}-{{ checksum "conanfile.txt" }}
- ccache-release-macos-{{ checksum "conanfile.txt" }}
- run: |
mkdir -p build
cd build
cmake ..
- run: make -C build -j8
- run: make -C build utrecht_tiles
- run: make -C build -j8 tests
- run: make -C build -j8 check
- run: make -C build -j8 benchmarks
- run: make -C build run-benchmarks
- save_cache:
key: ccache-release-macos-{{ .Branch }}-{{ checksum "conanfile.txt" }}-{{ epoch }}
paths:
- ~/.ccache
- ~/.conan

workflows:
version: 2
build_test_publish:
Expand All @@ -182,7 +135,3 @@ workflows:
filters:
tags:
ignore: /.*/
- build-osx:
filters:
tags:
ignore: /.*/
23 changes: 19 additions & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ libvalhalla.la
date_time_zonespec.csv
mason/
mason_packages/
.DS_Store

# scripts
scripts/gdal-2.0.0/
Expand All @@ -59,9 +60,23 @@ CMakeLists.txt.user
/CMakeSettings.json
.idea
/.tidytmp
vcpkg*/
overlay-ports-vcpkg/
vcpkg-configuration.json
run_route_scripts/
test_requests/

# documentation
site/

.DS_Store
# docker
Dockerfile

# CI
.github/
.circleci/
.pre-commit-config.yaml

# docs etc
site/
docs/
CONTRIBUTING.md
NEWS
taginfo.json
8 changes: 5 additions & 3 deletions .github/workflows/check_tz_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
run: |
set -e

git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'

latest_tag=$(git -C third_party/tz ls-remote --tags --refs --quiet origin | tail --lines 1 | awk '{print $2}' | cut --delimiter='/' --fields=3 )
latest_tag_commit=$(git -C third_party/tz rev-list -n 1 $latest_tag)
current_commit=$(git -C ./third_party/tz rev-parse HEAD)
Expand Down Expand Up @@ -56,12 +59,11 @@ jobs:
set -e
# commit and push
git commit -m "bumped tz to ${latest_tag}"
git push origin
git push origin "${new_branch}"

# open new PR
body=$(echo "See [here](https://github.com/eggert/tz/blob/main/NEWS) for the latest changes made to tz.\
Created by workflow run [#${WORKFLOW_RUN_ID}](https://github.com/valhalla/valhalla/actions/runs/${WORKFLOW_RUN_ID}/job/${WORKFLOW_JOB_ID})." | xargs)

Created by workflow run [#${WORKFLOW_RUN_ID}](https://github.com/valhalla/valhalla/actions/runs/${WORKFLOW_RUN_ID})." | xargs)
gh pr create --base master --head $new_branch --title "Bump tz to ${latest_tag}" --body "${body}"

exit 1
Expand Down
Loading