Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
cc97eb4fd2 | ||
|
b42cd65d57 | ||
|
5cbce08092 | ||
|
978ad75bd5 | ||
|
032b0b31d4 | ||
|
465fd4c268 | ||
|
3b595db9eb | ||
|
196f6dd233 | ||
|
fe704c0905 | ||
|
d74e6a5e39 |
309
.github/workflows/osrm-backend.yml
vendored
309
.github/workflows/osrm-backend.yml
vendored
@ -164,103 +164,102 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: gcc-13-debug-cov
|
# - name: gcc-13-debug-cov
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
node: 20
|
# node: 20
|
||||||
runs-on: ubuntu-24.04
|
# runs-on: ubuntu-24.04
|
||||||
BUILD_TOOLS: ON
|
# BUILD_TOOLS: ON
|
||||||
BUILD_TYPE: Debug
|
# BUILD_TYPE: Debug
|
||||||
CCOMPILER: gcc-13
|
# CCOMPILER: gcc-13
|
||||||
CUCUMBER_TIMEOUT: 20000
|
# CUCUMBER_TIMEOUT: 20000
|
||||||
CXXCOMPILER: g++-13
|
# CXXCOMPILER: g++-13
|
||||||
ENABLE_COVERAGE: ON
|
# ENABLE_COVERAGE: ON
|
||||||
|
|
||||||
- name: clang-15-debug-asan-ubsan
|
# - name: clang-15-debug-asan-ubsan
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
node: 20
|
# node: 20
|
||||||
runs-on: ubuntu-22.04
|
# runs-on: ubuntu-22.04
|
||||||
BUILD_TOOLS: ON
|
# BUILD_TOOLS: ON
|
||||||
BUILD_TYPE: Debug
|
# BUILD_TYPE: Debug
|
||||||
CCOMPILER: clang-15
|
# CCOMPILER: clang-15
|
||||||
CUCUMBER_TIMEOUT: 20000
|
# CUCUMBER_TIMEOUT: 20000
|
||||||
CXXCOMPILER: clang++-15
|
# CXXCOMPILER: clang++-15
|
||||||
ENABLE_SANITIZER: ON
|
# ENABLE_SANITIZER: ON
|
||||||
TARGET_ARCH: x86_64-asan-ubsan
|
# TARGET_ARCH: x86_64-asan-ubsan
|
||||||
OSRM_CONNECTION_RETRIES: 10
|
# OSRM_CONNECTION_RETRIES: 10
|
||||||
OSRM_CONNECTION_EXP_BACKOFF_COEF: 1.5
|
# OSRM_CONNECTION_EXP_BACKOFF_COEF: 1.5
|
||||||
|
|
||||||
- name: clang-15-release
|
# - name: clang-15-release
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
node: 18
|
# node: 18
|
||||||
runs-on: ubuntu-22.04
|
# runs-on: ubuntu-22.04
|
||||||
BUILD_TOOLS: ON
|
# BUILD_TOOLS: ON
|
||||||
BUILD_TYPE: Release
|
# BUILD_TYPE: Release
|
||||||
CCOMPILER: clang-15
|
# CCOMPILER: clang-15
|
||||||
CXXCOMPILER: clang++-15
|
# CXXCOMPILER: clang++-15
|
||||||
CUCUMBER_TIMEOUT: 60000
|
# CUCUMBER_TIMEOUT: 60000
|
||||||
|
|
||||||
- name: clang-15-debug
|
# - name: clang-15-debug
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
node: 18
|
# node: 18
|
||||||
runs-on: ubuntu-22.04
|
# runs-on: ubuntu-22.04
|
||||||
BUILD_TOOLS: ON
|
# BUILD_TOOLS: ON
|
||||||
BUILD_TYPE: Debug
|
# BUILD_TYPE: Debug
|
||||||
CCOMPILER: clang-15
|
# CCOMPILER: clang-15
|
||||||
CXXCOMPILER: clang++-15
|
# CXXCOMPILER: clang++-15
|
||||||
CUCUMBER_TIMEOUT: 60000
|
# CUCUMBER_TIMEOUT: 60000
|
||||||
|
|
||||||
- name: clang-18-debug-clang-tidy
|
# - name: clang-18-debug-clang-tidy
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
node: 18
|
# node: 18
|
||||||
runs-on: ubuntu-24.04
|
# runs-on: ubuntu-24.04
|
||||||
BUILD_TOOLS: ON
|
# BUILD_TOOLS: ON
|
||||||
BUILD_TYPE: Debug
|
# BUILD_TYPE: Debug
|
||||||
CCOMPILER: clang-18
|
# CCOMPILER: clang-18
|
||||||
CXXCOMPILER: clang++-18
|
# CXXCOMPILER: clang++-18
|
||||||
CUCUMBER_TIMEOUT: 60000
|
# CUCUMBER_TIMEOUT: 60000
|
||||||
ENABLE_CLANG_TIDY: ON
|
# ENABLE_CLANG_TIDY: ON
|
||||||
|
|
||||||
|
# - name: clang-14-release
|
||||||
|
# continue-on-error: false
|
||||||
|
# node: 18
|
||||||
|
# runs-on: ubuntu-22.04
|
||||||
|
# BUILD_TOOLS: ON
|
||||||
|
# BUILD_TYPE: Release
|
||||||
|
# CCOMPILER: clang-14
|
||||||
|
# CXXCOMPILER: clang++-14
|
||||||
|
# CUCUMBER_TIMEOUT: 60000
|
||||||
|
|
||||||
- name: clang-14-release
|
# - name: clang-13-release
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
node: 18
|
# node: 18
|
||||||
runs-on: ubuntu-22.04
|
# runs-on: ubuntu-22.04
|
||||||
BUILD_TOOLS: ON
|
# BUILD_TOOLS: ON
|
||||||
BUILD_TYPE: Release
|
# BUILD_TYPE: Release
|
||||||
CCOMPILER: clang-14
|
# CCOMPILER: clang-13
|
||||||
CXXCOMPILER: clang++-14
|
# CXXCOMPILER: clang++-13
|
||||||
CUCUMBER_TIMEOUT: 60000
|
# CUCUMBER_TIMEOUT: 60000
|
||||||
|
|
||||||
- name: clang-13-release
|
# - name: conan-linux-debug-asan-ubsan
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
node: 18
|
# node: 18
|
||||||
runs-on: ubuntu-22.04
|
# runs-on: ubuntu-22.04
|
||||||
BUILD_TOOLS: ON
|
# BUILD_TOOLS: ON
|
||||||
BUILD_TYPE: Release
|
# BUILD_TYPE: Release
|
||||||
CCOMPILER: clang-13
|
# CCOMPILER: clang-15
|
||||||
CXXCOMPILER: clang++-13
|
# CXXCOMPILER: clang++-15
|
||||||
CUCUMBER_TIMEOUT: 60000
|
# ENABLE_CONAN: ON
|
||||||
|
# ENABLE_SANITIZER: ON
|
||||||
|
|
||||||
- name: conan-linux-debug-asan-ubsan
|
# - name: conan-linux-release
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
node: 18
|
# node: 18
|
||||||
runs-on: ubuntu-22.04
|
# runs-on: ubuntu-22.04
|
||||||
BUILD_TOOLS: ON
|
# BUILD_TOOLS: ON
|
||||||
BUILD_TYPE: Release
|
# BUILD_TYPE: Release
|
||||||
CCOMPILER: clang-15
|
# CCOMPILER: clang-15
|
||||||
CXXCOMPILER: clang++-15
|
# CXXCOMPILER: clang++-15
|
||||||
ENABLE_CONAN: ON
|
# ENABLE_CONAN: ON
|
||||||
ENABLE_SANITIZER: ON
|
|
||||||
|
|
||||||
- name: conan-linux-release
|
|
||||||
continue-on-error: false
|
|
||||||
node: 18
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
BUILD_TOOLS: ON
|
|
||||||
BUILD_TYPE: Release
|
|
||||||
CCOMPILER: clang-15
|
|
||||||
CXXCOMPILER: clang++-15
|
|
||||||
ENABLE_CONAN: ON
|
|
||||||
|
|
||||||
- name: gcc-14-release
|
- name: gcc-14-release
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
@ -272,72 +271,71 @@ jobs:
|
|||||||
CXXCOMPILER: g++-14
|
CXXCOMPILER: g++-14
|
||||||
CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
|
CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
|
||||||
|
|
||||||
- name: gcc-13-release
|
# - name: gcc-13-release
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
node: 20
|
# node: 20
|
||||||
runs-on: ubuntu-24.04
|
# runs-on: ubuntu-24.04
|
||||||
BUILD_TOOLS: ON
|
# BUILD_TOOLS: ON
|
||||||
BUILD_TYPE: Release
|
# BUILD_TYPE: Release
|
||||||
CCOMPILER: gcc-13
|
# CCOMPILER: gcc-13
|
||||||
CXXCOMPILER: g++-13
|
# CXXCOMPILER: g++-13
|
||||||
CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
|
# CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
|
||||||
|
|
||||||
- name: gcc-12-release
|
# - name: gcc-12-release
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
node: 20
|
# node: 20
|
||||||
runs-on: ubuntu-22.04
|
# runs-on: ubuntu-22.04
|
||||||
BUILD_TOOLS: ON
|
# BUILD_TOOLS: ON
|
||||||
BUILD_TYPE: Release
|
# BUILD_TYPE: Release
|
||||||
CCOMPILER: gcc-12
|
# CCOMPILER: gcc-12
|
||||||
CXXCOMPILER: g++-12
|
# CXXCOMPILER: g++-12
|
||||||
CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
|
# CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
|
||||||
|
|
||||||
- name: conan-linux-release-node
|
# - name: conan-linux-release-node
|
||||||
build_node_package: true
|
# build_node_package: true
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
node: 20
|
# node: 20
|
||||||
runs-on: ubuntu-22.04
|
# runs-on: ubuntu-22.04
|
||||||
BUILD_TYPE: Release
|
# BUILD_TYPE: Release
|
||||||
CCOMPILER: clang-13
|
# CCOMPILER: clang-13
|
||||||
CXXCOMPILER: clang++-13
|
# CXXCOMPILER: clang++-13
|
||||||
ENABLE_CONAN: ON
|
# ENABLE_CONAN: ON
|
||||||
NODE_PACKAGE_TESTS_ONLY: ON
|
# NODE_PACKAGE_TESTS_ONLY: ON
|
||||||
|
|
||||||
- name: conan-linux-debug-node
|
# - name: conan-linux-debug-node
|
||||||
build_node_package: true
|
# build_node_package: true
|
||||||
continue-on-error: false
|
# continue-on-error: false
|
||||||
node: 20
|
# node: 20
|
||||||
runs-on: ubuntu-22.04
|
# runs-on: ubuntu-22.04
|
||||||
BUILD_TYPE: Debug
|
# BUILD_TYPE: Debug
|
||||||
CCOMPILER: clang-13
|
# CCOMPILER: clang-13
|
||||||
CXXCOMPILER: clang++-13
|
# CXXCOMPILER: clang++-13
|
||||||
ENABLE_CONAN: ON
|
# ENABLE_CONAN: ON
|
||||||
NODE_PACKAGE_TESTS_ONLY: ON
|
# NODE_PACKAGE_TESTS_ONLY: ON
|
||||||
|
|
||||||
- name: conan-macos-x64-release-node
|
# - name: conan-macos-x64-release-node
|
||||||
build_node_package: true
|
# build_node_package: true
|
||||||
continue-on-error: true
|
# continue-on-error: true
|
||||||
node: 20
|
# node: 20
|
||||||
runs-on: macos-13 # x86_64
|
# runs-on: macos-13 # x86_64
|
||||||
BUILD_TYPE: Release
|
# BUILD_TYPE: Release
|
||||||
CCOMPILER: clang
|
# CCOMPILER: clang
|
||||||
CXXCOMPILER: clang++
|
# CXXCOMPILER: clang++
|
||||||
CUCUMBER_TIMEOUT: 60000
|
# CUCUMBER_TIMEOUT: 60000
|
||||||
ENABLE_ASSERTIONS: ON
|
# ENABLE_ASSERTIONS: ON
|
||||||
ENABLE_CONAN: ON
|
# ENABLE_CONAN: ON
|
||||||
|
|
||||||
- name: conan-macos-arm64-release-node
|
|
||||||
build_node_package: true
|
|
||||||
continue-on-error: true
|
|
||||||
node: 20
|
|
||||||
runs-on: macos-14 # arm64
|
|
||||||
BUILD_TYPE: Release
|
|
||||||
CCOMPILER: clang
|
|
||||||
CXXCOMPILER: clang++
|
|
||||||
CUCUMBER_TIMEOUT: 60000
|
|
||||||
ENABLE_ASSERTIONS: ON
|
|
||||||
ENABLE_CONAN: ON
|
|
||||||
|
|
||||||
|
# - name: conan-macos-arm64-release-node
|
||||||
|
# build_node_package: true
|
||||||
|
# continue-on-error: true
|
||||||
|
# node: 20
|
||||||
|
# runs-on: macos-14 # arm64
|
||||||
|
# BUILD_TYPE: Release
|
||||||
|
# CCOMPILER: clang
|
||||||
|
# CXXCOMPILER: clang++
|
||||||
|
# CUCUMBER_TIMEOUT: 60000
|
||||||
|
# ENABLE_ASSERTIONS: ON
|
||||||
|
# ENABLE_CONAN: ON
|
||||||
name: ${{ matrix.name}}
|
name: ${{ matrix.name}}
|
||||||
continue-on-error: ${{ matrix.continue-on-error }}
|
continue-on-error: ${{ matrix.continue-on-error }}
|
||||||
runs-on: ${{ matrix.runs-on }}
|
runs-on: ${{ matrix.runs-on }}
|
||||||
@ -638,10 +636,11 @@ jobs:
|
|||||||
needs: [format-taginfo-docs]
|
needs: [format-taginfo-docs]
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
CCOMPILER: clang-13
|
CCOMPILER: gcc-12 #clang-13
|
||||||
CXXCOMPILER: clang++-13
|
CXXCOMPILER: g++-12 #clang++-13
|
||||||
CC: clang-13
|
CC: gcc-12 #clang-13
|
||||||
CXX: clang++-13
|
CXX: g++-12 #clang++-13
|
||||||
|
CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||||
@ -676,7 +675,7 @@ jobs:
|
|||||||
path: pr
|
path: pr
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install "conan<2.0.0" "requests==2.31.0" "numpy==1.26.4"
|
python3 -m pip install "conan<2.0.0" "requests==2.31.0" "numpy==1.26.4" #--break-system-packages
|
||||||
sudo apt-get update -y && sudo apt-get install ccache
|
sudo apt-get update -y && sudo apt-get install ccache
|
||||||
- name: Prepare data
|
- name: Prepare data
|
||||||
run: |
|
run: |
|
||||||
|
@ -31,7 +31,7 @@ option(ENABLE_ASSERTIONS "Use assertions in release mode" OFF)
|
|||||||
option(ENABLE_DEBUG_LOGGING "Use debug logging in release mode" OFF)
|
option(ENABLE_DEBUG_LOGGING "Use debug logging in release mode" OFF)
|
||||||
option(ENABLE_COVERAGE "Build with coverage instrumentalisation" OFF)
|
option(ENABLE_COVERAGE "Build with coverage instrumentalisation" OFF)
|
||||||
option(ENABLE_SANITIZER "Use memory sanitizer for Debug build" OFF)
|
option(ENABLE_SANITIZER "Use memory sanitizer for Debug build" OFF)
|
||||||
option(ENABLE_LTO "Use LTO if available" OFF)
|
option(ENABLE_LTO "Use LTO if available" ON)
|
||||||
option(ENABLE_FUZZING "Fuzz testing using LLVM's libFuzzer" OFF)
|
option(ENABLE_FUZZING "Fuzz testing using LLVM's libFuzzer" OFF)
|
||||||
option(ENABLE_NODE_BINDINGS "Build NodeJs bindings" OFF)
|
option(ENABLE_NODE_BINDINGS "Build NodeJs bindings" OFF)
|
||||||
option(ENABLE_CLANG_TIDY "Enables clang-tidy checks" OFF)
|
option(ENABLE_CLANG_TIDY "Enables clang-tidy checks" OFF)
|
||||||
|
Loading…
Reference in New Issue
Block a user