Skip to content

Recover macos test #5

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

Closed
wants to merge 316 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
316 commits
Select commit Hold shift + click to select a range
fac28e4
[alpha_shape] Reading data on C++ code
cvvergara Jan 22, 2024
1f38b08
[alpha_shape] do_ -> pgr_do_
cvvergara Jan 24, 2024
a18516a
[astar] Reading data on C++ code
cvvergara Jan 22, 2024
ec87bdc
[bdAstar] Reading data on C++ code
cvvergara Jan 22, 2024
00c29a3
[bdDijkstra] Reading data on C++ code
cvvergara Jan 23, 2024
71723cf
[bellman_ford] Reading data on C++ code
cvvergara Jan 23, 2024
312acbb
[breadthFirstSearch] Reading data on C++ code
cvvergara Jan 23, 2024
cbc4dea
[chinese] Reading data on C++ code
cvvergara Jan 23, 2024
404d08b
[circuits] hawickcircuits_driver.h -> hawickCircuits_driver.h
cvvergara Jan 23, 2024
a4dde4a
[circuits] Reading data on C++ code
cvvergara Jan 23, 2024
c94da62
[coloring] Reading data on C++ code
cvvergara Jan 23, 2024
79cddb9
[components] Reading data on C++ code
cvvergara Jan 24, 2024
eacc5fe
[contraction] Reading data on C++ code
cvvergara Jan 24, 2024
7fe0e2b
[dagShortestPath] Reading data on C++ code
cvvergara Jan 24, 2024
cef58f4
[dijkstra] Reading data on C++ code
cvvergara Jan 24, 2024
9844d42
[dominator] Reading data on C++ code
cvvergara Jan 24, 2024
4072d02
[driving_distance] Reading data on C++ code
cvvergara Jan 24, 2024
73ac7ce
[ksp] Reading data on C++ code
cvvergara Jan 24, 2024
b6aa67c
[linegraph] Reading data on C++ code
cvvergara Jan 24, 2024
79bbfa5
[max_flow] Reading data on C++ code
cvvergara Jan 24, 2024
42a414f
[mincut] Reading data on C++ code
cvvergara Jan 24, 2024
913689d
[ordering] Reading data on C++ code
cvvergara Jan 24, 2024
a90ef00
[pickDeliver] Reading data on C++ code
cvvergara Jan 24, 2024
d65baf1
[planar] Reading data on C++ code
cvvergara Jan 24, 2024
95b66b6
[topologicalSort] Reading data on C++ code
cvvergara Jan 24, 2024
0d186f6
[transitiveClosure] Reading data on C++ code
cvvergara Jan 24, 2024
6bd95aa
[traversal] Reading data on C++ code
cvvergara Jan 24, 2024
0655097
[trsp] Reading data on C++ code
cvvergara Jan 24, 2024
8d28518
[tsp] Reading data on C++ code
cvvergara Jan 24, 2024
56a6cb7
[withPoints] Reading data on C++ code
cvvergara Jan 24, 2024
ebd718e
[spannTree] Reading data on C++ code
cvvergara Jan 24, 2024
96c4a3f
[spannTree] fix failing tests
cvvergara Jan 24, 2024
d6edd10
[bellman_ford] Fixing codacy errors
cvvergara Jan 25, 2024
550fc7f
[breadthFirstSearch] Fixing codacy errors
cvvergara Jan 25, 2024
044f2cb
[max_flow] Fixing codacy errors
cvvergara Jan 25, 2024
59f888d
[trsp] Fixing codacy errors
cvvergara Jan 25, 2024
48c22ac
[trsp_pgget] marking unused code
cvvergara Jan 25, 2024
0713789
[trsp_pgfetch] marking unused code
cvvergara Jan 25, 2024
7eef474
[pgdata_fetchers.cpp] Fixing codacy errors
cvvergara Jan 25, 2024
a60f9eb
[planar] Reading data on C++ code
cvvergara Jan 30, 2024
7043c3d
[trsp_pgget trsp_pgfetch] Removing unused code
cvvergara Jan 30, 2024
8a24a1a
[doc] Updating NEWS & release_notes
cvvergara Jan 30, 2024
9ec1ba0
[breadthFirstSearch] Fixing codacy errors
cvvergara Jan 31, 2024
8c26411
[chinese] Fixing codacy errors
cvvergara Jan 31, 2024
3ab45fd
[mincut] Fixing codacy errors
cvvergara Jan 31, 2024
b291b7e
[max_flow] Fixing codacy errors
cvvergara Jan 31, 2024
6fd5bad
[trsp] Fixing codacy errors
cvvergara Jan 31, 2024
1c280b8
[planar] Fixing codacy errors
cvvergara Jan 31, 2024
3ecd253
fixing issue with code checker
cvvergara Jan 31, 2024
e15a0c5
using tag 1.6.1 on cpplint
cvvergara Feb 1, 2024
562b6b3
Update locale: commit e15a0c554d
github-actions[bot] Feb 1, 2024
888b6a1
Update mailing list to discourse
cvvergara Feb 4, 2024
589167a
Update locale: commit 888b6a198a
github-actions[bot] Feb 6, 2024
9ac58c4
(C++)(lint) adding mising includes after code checkr works
cvvergara Feb 8, 2024
7a65a1c
(tools) fixing type in script
cvvergara Feb 8, 2024
3238238
(h -> hpp) moving h files to hpp
cvvergara Feb 11, 2024
9d3b96e
(C) Adding edges_rt.h
cvvergara Feb 12, 2024
bd8a6df
(hpp) updating guards
cvvergara Feb 11, 2024
35f951a
(C++) using the new header names
cvvergara Feb 11, 2024
cc50048
(doc) updating release notes & NEWS
cvvergara Feb 12, 2024
f52a017
(licence) fixing file name on licences
cvvergara Feb 12, 2024
51a0dac
(lint) fixing codacy errors
cvvergara Feb 12, 2024
46081cc
include/alphaShape/pgr_alphaShape.h -> include/alphaShape/pgr_alphaSh…
cvvergara Feb 12, 2024
cf5cce7
(alphashape) using new name
cvvergara Feb 12, 2024
121b78e
Update locale: commit cf5cce7ea6
github-actions[bot] Feb 13, 2024
0a67c75
adding a check for clang-tidy (#2620)
cvvergara Feb 20, 2024
15cfd52
Fixing some problems detected with clang-tidy
cvvergara Feb 20, 2024
c6f5381
:wrench: removing seq from Path_rt
cvvergara Feb 13, 2023
0020875
[c] :wrench: adjusted to not use seq from structure
cvvergara Feb 13, 2023
9d6d6be
[c++] :wrench: adjusted to not use seq from structure
cvvergara Feb 13, 2023
e87c26b
(pgtap) fixing sql error
cvvergara Feb 11, 2024
0680320
Removing enum file
cvvergara Feb 20, 2024
8b89570
Using boolean instead of enumeration
cvvergara Jan 26, 2024
0a2fa0f
Cleanup pgr_base_graph (#2624)
cvvergara Feb 26, 2024
ec55cae
Add macos-14 to macos CI (#2619)
sanak Mar 15, 2024
5d38abd
Fix macos-14 build error
sanak Mar 16, 2024
c1ae1f2
[actions] Update release script to use NEWS.md
krashish8 Mar 31, 2024
edb59c1
add 3.6.2 info to notes, news, build and upgrade test
cvvergara Apr 28, 2024
92c9ef6
(CI/cpp_lint) ignoring faulty check -whitespace/indent_namespace
cvvergara Apr 28, 2024
4b7866d
(CI/doc) only process chinese on pgRouting repo
cvvergara Apr 28, 2024
356233e
(isPlanar) should not throw
cvvergara Apr 28, 2024
fcc5dc9
(locale) updating the locale
cvvergara Apr 29, 2024
7b87bce
Adding a bool template parameter
cvvergara Feb 27, 2024
2854b15
(pgr_base_graph.hpp) removing unused parameter
cvvergara Feb 27, 2024
ce89318
(alphaShape) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
c79f34a
(contraction) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
ad85f40
(lineGraph) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
364e14c
(allpairs) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
6d126d9
(alpha_shape) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
c9b7392
(astar) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
ebc5a91
(bdAstar) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
a1d0e57
(bdDijkstra) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
41367e0
(breadthFirstSearch) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
d9e7f97
(circuits) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
7230df0
(coloring) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
bbfca02
(components) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
81cab86
(dagShortestPath) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
6beb2da
(dijkstra) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
11013af
(dominator) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
904a51d
(driving_distance) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
1459e7d
(ksp) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
70887bc
(mincut) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
dbbf217
(ordering) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
2428889
(planar) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
b424464
(spanningTree) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
47c549e
(topologicalSort) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
11f0a8b
(transitiveClosure) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
e086ab9
(traversal) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
59c257a
(trsp) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
840cdb6
(withPoints) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
c8c3502
(bellman_ford) Adjusting code to pgr_base_graph_changes
cvvergara Feb 27, 2024
fa60d0b
Fixing clang tidy issue
cvvergara Feb 27, 2024
14e04b2
(linegraph) flag not really used
cvvergara Apr 23, 2024
83608a3
Fixing codacy error
cvvergara May 7, 2024
6afe2ca
fixing NEWS.md
cvvergara May 7, 2024
792c9fb
Update locale: commit 6afe2ca1c6
github-actions[bot] May 7, 2024
996e7ca
(lineGraph)(pgtap) tests from wiki and mathworld
cvvergara Feb 26, 2024
5acff54
(lineGraph)(pgtap) design test rewritten on pgtap
cvvergara Feb 26, 2024
3e1f3af
(CI) refining tidy-vs-commit to not process .conf files
cvvergara Feb 26, 2024
dc1996f
(lineGraph) wrong code -> good code
cvvergara Feb 26, 2024
7e3338f
(lineGraph) Using fixed code
cvvergara Feb 26, 2024
a0c6e64
(lineGraph)(docq) Updating to new results
cvvergara Feb 26, 2024
771c3c0
(docqueries/pgr_lineGraph) adding additional examples
cvvergara May 9, 2024
c859e24
(doc/pgr_lineGraph) adding additional examples
cvvergara May 9, 2024
096739c
(pgtap/pgr_lineGraph) adjusting mathworld unit test
cvvergara May 9, 2024
a1c5f41
Adding self loops on directed graphs
cvvergara May 9, 2024
db2b66e
updating NEWS and release notes
cvvergara May 9, 2024
8582944
Fixing conflicts
cvvergara May 9, 2024
78df738
Update locale: commit 8582944d03
github-actions[bot] May 13, 2024
373f9d9
Update translation files
weblate Jan 5, 2024
997deea
Translated using Weblate (Chinese (Simplified))
cvvergara Jan 5, 2024
907f8bf
Translated using Weblate (Chinese (Simplified))
Jan 5, 2024
0ab4b5f
Translated using Weblate (Chinese (Simplified))
Jan 5, 2024
02231df
Translated using Weblate (Chinese (Simplified))
Jan 5, 2024
e8fa897
Translated using Weblate (Chinese (Simplified))
Jan 5, 2024
781b4f4
Translated using Weblate (Chinese (Simplified))
Jan 5, 2024
c27eaad
Translated using Weblate (Chinese (Simplified))
Jan 5, 2024
cff3a51
Update translation files
weblate Jan 6, 2024
da40458
Translated using Weblate (Spanish)
Jan 6, 2024
b176054
Translated using Weblate (Spanish)
cvvergara Jan 6, 2024
9e3216d
Translated using Weblate (Spanish)
cvvergara Jan 6, 2024
8b2cf2e
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
7c56b54
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
ac8a05d
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
88d61b0
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
2db34e2
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
7134ad0
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
033842a
Translated using Weblate (Chinese (Simplified))
Jan 19, 2024
bad988b
Update translation files
weblate Jan 24, 2024
a804bb7
Update translation files
weblate Feb 1, 2024
ca1a02d
Update translation files
weblate Feb 6, 2024
2da8d99
Update translation files
weblate Feb 13, 2024
e00124c
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
57d97ec
Translated using Weblate (Spanish)
Apr 11, 2024
d06a10b
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
4999b8a
Translated using Weblate (Spanish)
Apr 11, 2024
753c99c
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
1dc6dda
Translated using Weblate (Spanish)
Apr 11, 2024
a040f0b
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
87631cb
Translated using Weblate (Spanish)
Apr 11, 2024
b2b7a74
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
52bad06
Translated using Weblate (Spanish)
Apr 11, 2024
7033955
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
9514b3c
Translated using Weblate (Spanish)
Apr 11, 2024
26af087
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
742457b
Translated using Weblate (Spanish)
Apr 11, 2024
8f2f507
Translated using Weblate (Spanish)
Apr 11, 2024
5254320
Translated using Weblate (Spanish)
cvvergara Apr 11, 2024
b5fbfc3
Translated using Weblate (Spanish)
cvvergara Apr 23, 2024
cf972aa
Translated using Weblate (Spanish)
cvvergara Apr 28, 2024
4bcfcb5
Translated using Weblate (Chinese (Simplified))
cvvergara Apr 28, 2024
e1f97af
Update translation files
weblate Apr 29, 2024
c61cd66
Translated using Weblate (Japanese)
cvvergara Apr 30, 2024
dd472be
Translated using Weblate (Japanese)
cvvergara Apr 30, 2024
232830f
Translated using Weblate (Chinese (Simplified))
cvvergara Apr 30, 2024
7f03918
Translated using Weblate (Chinese (Simplified))
Apr 30, 2024
5dbc488
Update translation files
weblate May 7, 2024
8ada27d
Update translation files
weblate May 13, 2024
c92f85e
Translated using Weblate (Spanish)
cvvergara May 28, 2024
b3f47ae
Translated using Weblate (Spanish)
May 28, 2024
d56448b
Translated using Weblate (Spanish)
cvvergara May 28, 2024
4181f3b
Translated using Weblate (Spanish)
May 28, 2024
e616d48
Translated using Weblate (Spanish)
cvvergara May 28, 2024
f56e0e0
Translated using Weblate (Spanish)
May 28, 2024
76d6606
Translated using Weblate (Spanish)
May 28, 2024
c5a773b
Translated using Weblate (Spanish)
cvvergara May 28, 2024
54410c8
Translated using Weblate (Spanish)
cvvergara May 28, 2024
05e69e1
Translated using Weblate (Spanish)
May 28, 2024
e61262e
Translated using Weblate (Spanish)
cvvergara May 28, 2024
4398116
Translated using Weblate (Spanish)
May 28, 2024
534042e
Translated using Weblate (Spanish)
cvvergara May 28, 2024
5242858
Translated using Weblate (Spanish)
May 28, 2024
e2cc093
Translated using Weblate (Spanish)
cvvergara May 28, 2024
6cf93e7
Translated using Weblate (Spanish)
May 28, 2024
ed5c1c6
Translated using Weblate (Spanish)
May 28, 2024
ed3823e
Translated using Weblate (Spanish)
cvvergara May 28, 2024
f4396a5
Translated using Weblate (Spanish)
cvvergara May 28, 2024
7a18b69
Translated using Weblate (Spanish)
May 28, 2024
45ff9f7
Translated using Weblate (Spanish)
cvvergara May 28, 2024
7af9b4c
Translated using Weblate (Spanish)
May 28, 2024
f539e20
Translated using Weblate (Chinese (Simplified))
cvvergara May 28, 2024
bd6a655
Translated using Weblate (Chinese (Simplified))
May 28, 2024
b571548
Translated using Weblate (Chinese (Simplified))
cvvergara May 28, 2024
a97f495
Update locale: commit b571548adb
github-actions[bot] May 28, 2024
2629123
tools/testers/doc_queries_generator.pl
cvvergara May 28, 2024
2ff764c
(docqueries/allpairs) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
5bb44ae
(docqueries/alpha_shape) renaming queries files. Removing prefix ands…
cvvergara May 28, 2024
918b17c
(docqueries/astar) renaming queries files. Removing prefix andsuffix …
cvvergara May 28, 2024
07d78e4
(docqueries/bdAstar) renaming queries files. Removing prefix andsuffi…
cvvergara May 28, 2024
5d540ff
(docqueries/bdDijkstra) renaming queries files. Removing prefix andsu…
cvvergara May 28, 2024
589dd8f
(docqueries/bellman_ford) renaming queries files. Removing prefix and…
cvvergara May 28, 2024
94a1b65
(docqueries/breadthFirstSearch) renaming queries files. Removing pref…
cvvergara May 28, 2024
bdd377a
(docqueries/chinese) renaming queries files. Removing prefix andsuffi…
cvvergara May 28, 2024
501631b
(docqueries/circuits) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
8ee6151
(docqueries/coloring) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
52cf62e
(docqueries/common) renaming queries files. Removing prefix andsuffix…
cvvergara May 28, 2024
6067448
(docqueries/components) renaming queries files. Removing prefix andsu…
cvvergara May 28, 2024
730736f
(docqueries/contraction) renaming queries files. Removing prefix ands…
cvvergara May 28, 2024
a270457
(docqueries/dagShortestPath) renaming queries files. Removing prefix …
cvvergara May 28, 2024
6dd05f8
(docqueries/dijkstra) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
8304639
(docqueries/dominator) renaming queries files. Removing prefix andsuf…
cvvergara May 28, 2024
8693293
(docqueries/driving_distance) renaming queries files. Removing prefix…
cvvergara May 28, 2024
a6f587b
(docqueries/ksp) renaming queries files. Removing prefix andsuffix is pg
cvvergara May 28, 2024
6abb1cc
(docqueries/lineGraph) renaming queries files. Removing prefix andsuf…
cvvergara May 28, 2024
228c21f
(docqueries/max_flow) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
74807ef
(docqueries/mincut) renaming queries files. Removing prefix andsuffix…
cvvergara May 28, 2024
e38d4a1
(docqueries/ordering) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
d18e8c6
(docqueries/pickDeliver) renaming queries files. Removing prefix ands…
cvvergara May 28, 2024
4f40aa9
(docqueries/planar) renaming queries files. Removing prefix andsuffix…
cvvergara May 28, 2024
3278c59
(docqueries/spanningTree) renaming queries files. Removing prefix and…
cvvergara May 28, 2024
6e73986
(docqueries/src) renaming queries files. Removing prefix andsuffix is pg
cvvergara May 28, 2024
6f09dce
(docqueries/topologicalSort) renaming queries files. Removing prefix …
cvvergara May 28, 2024
41e931f
(docqueries/topology) renaming queries files. Removing prefix andsuff…
cvvergara May 28, 2024
756351f
(docqueries/transitiveClosure) renaming queries files. Removing prefi…
cvvergara May 28, 2024
37a3002
(docqueries/traversal) renaming queries files. Removing prefix andsuf…
cvvergara May 28, 2024
af9e8cd
(docqueries/trsp) renaming queries files. Removing prefix andsuffix i…
cvvergara May 28, 2024
6d5e9b9
(docqueries/tsp) renaming queries files. Removing prefix andsuffix is pg
cvvergara May 28, 2024
dc4afaa
(docqueries/utilities) renaming queries files. Removing prefix andsuf…
cvvergara May 28, 2024
730ba2d
(docqueries/version) renaming queries files. Removing prefix andsuffi…
cvvergara May 28, 2024
6c742c1
(docqueries/vrp_basic) renaming queries files. Removing prefix andsuf…
cvvergara May 28, 2024
660d7ff
(docqueries/withPoints) renaming queries files. Removing prefix andsu…
cvvergara May 28, 2024
d4e36bd
Updating the build to the new names
cvvergara May 28, 2024
cc86276
Adjusting test.conf to have only files key
cvvergara May 28, 2024
c1bde1e
(doc) Adjusting include file.queries to the new file names
cvvergara May 28, 2024
1139dbf
adjusting scripts to new filenames
cvvergara May 28, 2024
0c47a51
doc_queries_generator.pl drop/create with if exists
cvvergara May 28, 2024
581abc2
Adjust CI macos build and test
sanak Feb 15, 2024
63de65f
Start postgresql by brew services in macos CI
sanak Feb 15, 2024
655c8b3
Use postgresql@14 as macos postgresql data location
sanak Feb 15, 2024
d11e59d
Add pg_prove symbolic link into homebrew bin
sanak Feb 15, 2024
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
  •  
  •  
  •  
39 changes: 39 additions & 0 deletions .github/scripts/tidy-vs-commit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/env bash
# Runs clang-tidy only on changed files

readonly BASE=$1
readonly BUILD_DIR=build

MODIFIED_FILES=$(git diff-tree --no-commit-id --diff-filter=d --name-only -r "$BASE" HEAD | grep '\.c')
MODIFIED_HEADERS=$(git diff-tree --no-commit-id --diff-filter=d --name-only -r "$BASE" HEAD | grep '\.h')
POSTGRES_SERVER=$(grep -o -m1 '\-isystem .*' "${BUILD_DIR}/compile_commands.json" | head -1 | awk '{print $1" "$2}')

echo "POSTGRES_SERVER ${POSTGRES_SERVER}"

CHECKS="-checks=clang-analyzer-*"

if [ -z "${MODIFIED_FILES}" ] && [ -z "${MODIFIED_HEADERS}" ]; then
echo "No paths modified"
exit 0
fi

# C/C++ use the compile command
if [ ${#MODIFIED_FILES[@]} != 0 ] ; then
for f in ${MODIFIED_FILES}
do
if [ "${f##*.}" == 'conf' ]; then continue; fi
echo "${f}"
clang-tidy -p "${BUILD_DIR}" "${CHECKS}" -header-filter="^$(pwd).*" "${f}"
done
fi

# H/HPP do not have a compile command
# workaround: add the includes
if [ ${#MODIFIED_HEADERS[@]} != 0 ] ; then
for f in ${MODIFIED_HEADERS}
do
echo "${f}"
clang-tidy "${CHECKS}" -header-filter=.* "${f}" \
-- -I./include "${POSTGRES_SERVER}"
done
fi
15 changes: 9 additions & 6 deletions .github/workflows/boost_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ name: Boost supported versions
# Currently
# - boost::geometry has not changed anything we use
#
# - boost::graph changed on 1.80
# - boost::graph 1.75 requires C++14
# - boost::graph changed on 1.68
# - 1.56 is the minimum version we ask
# boost::graph
# - 1.84 is failing its own tests (Jul 2022)
# - 1.83 transitive closure & stoer wagner changed on 83 (Jul 2022)
# - 1.80 changed on 1.80 (Aug 2022)
# - 1.75 requires C++14 (Dec 2020)
# - 1.68 changed on 1.68 (Aug 2018)
# - 1.56 is the minimum version we ask (Aug 2014)

on:
push:
Expand Down Expand Up @@ -65,7 +68,7 @@ jobs:
strategy:
fail-fast: false
matrix:
boost_minor: [56, 68, 75]
boost_minor: [56, 68, 75, 76, 77, 78, 79, 80, 83, 84]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -133,5 +136,5 @@ jobs:
sudo service postgresql start
psql -c "CREATE DATABASE ___pgr___test___;"
DIR=$(git rev-parse --show-toplevel)
bash "${DIR}/tools/testers/setup_db.sh" "${PGPORT}" ___pgr___test___ "${PG_RUNNER_USER}" "3.6.0"
bash "${DIR}/tools/testers/setup_db.sh" "${PGPORT}" ___pgr___test___ "${PG_RUNNER_USER}" "3.7.0"
pg_prove -Q -f --normalize --directives --recurse -U "${PG_RUNNER_USER}" -d ___pgr___test___ "pgtap"
4 changes: 2 additions & 2 deletions .github/workflows/check-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- name: News file up to date
run: |
tools/release-scripts/notes2news.pl
if git status | grep 'NEWS'; then echo "NEWS is not up to date"; exit 1; fi
if ! grep -q $(grep -Po '(?<=project\(PGROUTING VERSION )[^;]+' CMakeLists.txt) NEWS; then echo "Missing section in NEWS"; exit 1; fi
if git status | grep 'NEWS.md'; then echo "NEWS.md is not up to date"; exit 1; fi
if ! grep -q $(grep -Po '(?<=project\(PGROUTING VERSION )[^;]+' CMakeLists.txt) NEWS.md; then echo "Missing section in NEWS.md"; exit 1; fi

License_check:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-queries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
TESTDIRS="version"
for d in ${TESTDIRS}
do
./tools/testers/doc_queries_generator.pl -pgver "${PGVER}" -pguser runner -documentation -alg "${d}"
./tools/testers/doc_queries_generator.pl -pgver "${PGVER}" -pguser runner -documentation -alg "docqueries/${d}"
done

./tools/testers/doc_queries_generator.pl -pgver "${PGVER}"
6 changes: 4 additions & 2 deletions .github/workflows/doc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [en,es]
language: [en,es,zh_Hans]

steps:
- uses: actions/checkout@v4
Expand All @@ -65,6 +65,8 @@ jobs:
# allways processing english, no matter what the change was
if [[ "${{ matrix.language }}" == "en" ]]; then echo "PROCESS=true" >> $GITHUB_ENV; exit 0; fi

if [[ "${{ matrix.language }}" == "zh_Hans" && "${{ github.repository_owner }}" != "pgRouting" ]]; then echo "PROCESS=false" >> $GITHUB_ENV; exit 0; fi

# when this file changes all languages are tested
if git diff --name-only HEAD^ HEAD | grep -q '.github/workflows/doc-check.yml' ; then echo "PROCESS=true" >> $GITHUB_ENV; exit 0; fi

Expand Down Expand Up @@ -119,7 +121,7 @@ jobs:
mkdir build
cd build
cmake -DLINKCHECK=ON -DWITH_DOC=ON \
-DES=ON -DBUILD_DOXY=ON \
-DES=ON -DZH_HANS=ON -DBUILD_DOXY=ON \
-DPOSTGRESQL_VERSION=${PGVER} -DCMAKE_BUILD_TYPE=Release ..

- name: Check Documentation
Expand Down
45 changes: 37 additions & 8 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,31 @@ name: Build for macOS

on:
workflow_dispatch:
push:
paths:
- '.github/workflows/macos.yml'
- 'src/**'
- 'include/**'
- 'pgtap/**'
- 'tools/testers/**'
- './CMakeLists.txt'

branches-ignore:
- 'gh-pages'

tags: []

pull_request:
paths:
- '.github/workflows/macos.yml'
- 'src/**'
- 'include/**'
- 'pgtap/**'
- 'tools/testers/**'
- './CMakeLists.txt'

branches-ignore:
- 'gh-pages'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -16,7 +41,12 @@ permissions:
jobs:
build:
name: macos
runs-on: macos-latest
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [macos-latest, macos-14]

steps:
- name: Checkout repository
Expand All @@ -36,22 +66,21 @@ jobs:
run: |
cd build
make -j
sudo make install
make install

- name: Install pgTAP
run: |
git clone https://github.com/theory/pgtap.git pgTapExtension
cd pgTapExtension
make -j
sudo make install
sudo cpan TAP::Parser::SourceHandler::pgTAP
sudo find /usr/local -name pg_prove
sudo ln -s /usr/local/Cellar/perl/5.32.1_1/bin/pg_prove symlink it into /usr/local/bin
make install
cpan TAP::Parser::SourceHandler::pgTAP
ln -s $(find `brew --prefix` -name pg_prove) symlink it into $(brew --prefix)/bin

- name: Test
run: |
export PATH=/usr/local/Cellar/perl/$(perl -e 'print substr($^V, 1)')/bin:$PATH
pg_ctl -D /usr/local/var/postgres start
export PATH=$(brew --prefix)/Cellar/perl/$(perl -e 'print substr($^V, 1)')/bin:$PATH
pg_ctl -D $(brew --prefix)/var/postgresql@14 start
createuser -s postgres
createdb ___pgr___test___
bash ./tools/testers/pg_prove_tests.sh postgres 5432 Release
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
tar -zcvf doc-v${PGROUTING_VERSION}-es.tar.gz doc-v${PGROUTING_VERSION}-es

cd ../..
grep -Pzo "(?s)pgRouting ${PGROUTING_VERSION//./\\.} Release Notes.*?(?=pgRouting .\..\.. Release Notes)" NEWS | tr '\0' '\n' > release_body.txt
grep -Pzo "(?s)pgRouting ${PGROUTING_VERSION//./\\.} Release Notes.*?(?=pgRouting .\..\.. Release Notes)" NEWS.md | tr '\0' '\n' > release_body.txt
echo "**Attachments**" >> release_body.txt
echo "File | Contents" >> release_body.txt
echo "| --- | --- |" >> release_body.txt
Expand Down
58 changes: 58 additions & 0 deletions .github/workflows/tidy-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: clang-tidy check

on:
pull_request:
branches-ignore:
- 'gh-pages'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
check-changelog:
name: Check for changelog entry
runs-on: ubuntu-latest
env:
PR_BASE: ${{ github.base_ref }}

steps:

- uses: actions/checkout@v4

- name: Get postgres version
run: |
sudo service postgresql start
pgver=$(psql --version | grep -Po '(?<=psql \(PostgreSQL\) )[^;]+(?=\.\d+ \()')
echo "PGVER=${pgver}" >> $GITHUB_ENV
echo "PGPORT=5432" >> $GITHUB_ENV

- name: Add PostgreSQL APT repository
run: |
sudo apt-get install curl ca-certificates gnupg
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ \
$(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libboost-graph-dev \
postgresql-${PGVER} \
postgresql-server-dev-${PGVER}

- name: Configure
run: |
export PATH=/usr/lib/postgresql/${PGVER}/bin:$PATH
mkdir build
cd build
cmake -DPOSTGRESQL_VERSION=${PGVER} -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DWITH_DOC=OFF ..

- name: Add upstream
run: |
git remote add upstream https://github.com/pgRouting/pgrouting
git fetch upstream ${PR_BASE}

- name: do clang-tidy
run: .github/scripts/tidy-vs-commit.sh "upstream/${PR_BASE}"
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
psql: [11,12,13,14,15]
psql: [12,13,14,15,16]
postgis: [3]
os: [ubuntu-latest, ubuntu-20.04]

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
old_pgr: [3.5.1, 3.5.0, 3.4.2, 3.4.1, 3.4.0, 3.3.5, 3.3.4, 3.3.3, 3.3.2, 3.3.1, 3.3.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.6, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2]
old_pgr: [3.6.2, 3.6.1, 3.6.0, 3.5.1, 3.5.0, 3.4.2, 3.4.1, 3.4.0, 3.3.5, 3.3.4, 3.3.3, 3.3.2, 3.3.1, 3.3.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.6, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -122,6 +122,6 @@ jobs:
run: |
sudo service postgresql start
psql -p "${PGPORT}" -d ___pgr___test___ -c "SELECT * FROM pgr_full_version();"
psql -p "${PGPORT}" -d ___pgr___test___ -c "ALTER EXTENSION pgrouting UPDATE TO '3.6.0';"
psql -p "${PGPORT}" -d ___pgr___test___ -c "ALTER EXTENSION pgrouting UPDATE TO '3.7.0';"
psql -p "${PGPORT}" -d ___pgr___test___ -c "SELECT * FROM pgr_full_version();"
pg_prove -Q -f --normalize --directives --recurse -U "${PG_RUNNER_USER}" -d ___pgr___test___ "pgtap"
9 changes: 6 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ include(pgr/BuildType)
#---------------------------------------------
#---------------------------------------------

project(PGROUTING VERSION 3.6.0
project(PGROUTING VERSION 3.7.0
LANGUAGES C CXX )
set(PROJECT_VERSION_DEV "")
set(PROJECT_VERSION_DEV "-dev")
string(TOLOWER "${PROJECT_NAME}" PROJECT_NAME_LOWER)

include(pgr/GitInfo)
Expand All @@ -31,8 +31,11 @@ set(PROJECT_LIB_NAME "${PROJECT_NAME_LOWER}-${PROJECT_LIB_VERSION}")

string(TIMESTAMP COMPILATION_DATE "%Y/%m/%d" UTC)

set(MINORS 3.6 3.5 3.4 3.3 3.2 3.1 3.0 2.6)
set(MINORS 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0 2.6)
set(OLD_SIGNATURES
3.6.2
3.6.1
3.6.0
3.5.1
3.5.0
3.4.2
Expand Down
Loading
Loading