From f3a9533c19d4da17d46c585121fb427fa79bb448 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Sat, 11 May 2024 22:15:22 +0200 Subject: [PATCH] Enable other clang compilers --- .github/workflows/osrm-backend.yml | 242 +++++++++++++++-------------- 1 file changed, 123 insertions(+), 119 deletions(-) diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index feb8eba40..a1922c13b 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -148,50 +148,50 @@ jobs: strategy: matrix: include: - - name: gcc-13-debug-cov - continue-on-error: false - node: 20 - runs-on: ubuntu-22.04 - BUILD_TOOLS: ON - BUILD_TYPE: Debug - CCOMPILER: gcc-13 - CUCUMBER_TIMEOUT: 20000 - CXXCOMPILER: g++-13 - ENABLE_COVERAGE: ON + # - name: gcc-13-debug-cov + # continue-on-error: false + # node: 20 + # runs-on: ubuntu-22.04 + # BUILD_TOOLS: ON + # BUILD_TYPE: Debug + # CCOMPILER: gcc-13 + # CUCUMBER_TIMEOUT: 20000 + # CXXCOMPILER: g++-13 + # ENABLE_COVERAGE: ON - - name: clang-15-debug-asan-ubsan - continue-on-error: false - node: 20 - runs-on: ubuntu-22.04 - BUILD_TOOLS: ON - BUILD_TYPE: Debug - CCOMPILER: clang-15 - CUCUMBER_TIMEOUT: 20000 - CXXCOMPILER: clang++-15 - ENABLE_SANITIZER: ON - TARGET_ARCH: x86_64-asan-ubsan - OSRM_CONNECTION_RETRIES: 10 - OSRM_CONNECTION_EXP_BACKOFF_COEF: 1.5 + # - name: clang-15-debug-asan-ubsan + # continue-on-error: false + # node: 20 + # runs-on: ubuntu-22.04 + # BUILD_TOOLS: ON + # BUILD_TYPE: Debug + # CCOMPILER: clang-15 + # CUCUMBER_TIMEOUT: 20000 + # CXXCOMPILER: clang++-15 + # ENABLE_SANITIZER: ON + # TARGET_ARCH: x86_64-asan-ubsan + # OSRM_CONNECTION_RETRIES: 10 + # OSRM_CONNECTION_EXP_BACKOFF_COEF: 1.5 - - name: clang-15-release - continue-on-error: false - node: 18 - runs-on: ubuntu-22.04 - BUILD_TOOLS: ON - BUILD_TYPE: Release - CCOMPILER: clang-15 - CXXCOMPILER: clang++-15 - CUCUMBER_TIMEOUT: 60000 + # - name: clang-15-release + # continue-on-error: false + # node: 18 + # runs-on: ubuntu-22.04 + # BUILD_TOOLS: ON + # BUILD_TYPE: Release + # CCOMPILER: clang-15 + # CXXCOMPILER: clang++-15 + # CUCUMBER_TIMEOUT: 60000 - - name: clang-15-debug - continue-on-error: false - node: 18 - runs-on: ubuntu-22.04 - BUILD_TOOLS: ON - BUILD_TYPE: Debug - CCOMPILER: clang-15 - CXXCOMPILER: clang++-15 - CUCUMBER_TIMEOUT: 60000 + # - name: clang-15-debug + # continue-on-error: false + # node: 18 + # runs-on: ubuntu-22.04 + # BUILD_TOOLS: ON + # BUILD_TYPE: Debug + # CCOMPILER: clang-15 + # CXXCOMPILER: clang++-15 + # CUCUMBER_TIMEOUT: 60000 # - name: clang-15-debug-clang-tidy # continue-on-error: false @@ -224,58 +224,58 @@ jobs: # CXXCOMPILER: clang++-13 # CUCUMBER_TIMEOUT: 60000 - - name: conan-linux-debug-asan-ubsan - 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 - ENABLE_SANITIZER: ON + # - name: conan-linux-debug-asan-ubsan + # 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 + # 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: 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-13-release - continue-on-error: false - node: 20 - runs-on: ubuntu-22.04 - BUILD_TOOLS: ON - BUILD_TYPE: Release - CCOMPILER: gcc-13 - CXXCOMPILER: g++-13 - ENABLE_BENCHMARKS: ON - CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized' + # - name: gcc-13-release + # continue-on-error: false + # node: 20 + # runs-on: ubuntu-22.04 + # BUILD_TOOLS: ON + # BUILD_TYPE: Release + # CCOMPILER: gcc-13 + # CXXCOMPILER: g++-13 + # ENABLE_BENCHMARKS: ON + # CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized' - - name: gcc-12-release - continue-on-error: false - node: 20 - runs-on: ubuntu-22.04 - BUILD_TOOLS: ON - BUILD_TYPE: Release - CCOMPILER: gcc-12 - CXXCOMPILER: g++-12 - ENABLE_BENCHMARKS: ON - CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized' + # - name: gcc-12-release + # continue-on-error: false + # node: 20 + # runs-on: ubuntu-22.04 + # BUILD_TOOLS: ON + # BUILD_TYPE: Release + # CCOMPILER: gcc-12 + # CXXCOMPILER: g++-12 + # ENABLE_BENCHMARKS: ON + # CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized' - - name: gcc-11-release - continue-on-error: false - node: 20 - runs-on: ubuntu-22.04 - BUILD_TOOLS: ON - BUILD_TYPE: Release - CCOMPILER: gcc-11 - CXXCOMPILER: g++-11 - ENABLE_BENCHMARKS: ON + # - name: gcc-11-release + # continue-on-error: false + # node: 20 + # runs-on: ubuntu-22.04 + # BUILD_TOOLS: ON + # BUILD_TYPE: Release + # CCOMPILER: gcc-11 + # CXXCOMPILER: g++-11 + # ENABLE_BENCHMARKS: ON # - name: conan-linux-release-node # build_node_package: true @@ -288,40 +288,40 @@ jobs: # ENABLE_CONAN: ON # NODE_PACKAGE_TESTS_ONLY: ON - # - name: conan-linux-debug-node + - name: conan-linux-debug-node + build_node_package: true + continue-on-error: false + node: 20 + runs-on: ubuntu-22.04 + BUILD_TYPE: Debug + CCOMPILER: clang-13 + CXXCOMPILER: clang++-13 + ENABLE_CONAN: ON + NODE_PACKAGE_TESTS_ONLY: ON + + # - name: conan-macos-x64-release-node # build_node_package: true - # continue-on-error: false + # continue-on-error: true # node: 20 - # runs-on: ubuntu-22.04 - # BUILD_TYPE: Debug - # CCOMPILER: clang-13 - # CXXCOMPILER: clang++-13 + # runs-on: macos-13 # x86_64 + # BUILD_TYPE: Release + # CCOMPILER: clang + # CXXCOMPILER: clang++ + # CUCUMBER_TIMEOUT: 60000 + # ENABLE_ASSERTIONS: ON # ENABLE_CONAN: ON - # NODE_PACKAGE_TESTS_ONLY: ON - - name: conan-macos-x64-release-node - build_node_package: true - continue-on-error: true - node: 20 - runs-on: macos-13 # x86_64 - 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: 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}} continue-on-error: ${{ matrix.continue-on-error }} @@ -345,6 +345,10 @@ jobs: OSRM_CONNECTION_RETRIES: ${{ matrix.OSRM_CONNECTION_RETRIES }} OSRM_CONNECTION_EXP_BACKOFF_COEF: ${{ matrix.OSRM_CONNECTION_EXP_BACKOFF_COEF }} steps: + # workaround for broken clang on ubuntu runner until https://github.com/actions/runner-images/issues/8659 get fixed + - uses: mjp41/workaround8649@7929373c0fe5caf844d8115adccef39e3b5362e7 + with: + os: ${{ matrix.os }} - uses: actions/checkout@v3 - name: Build machine architecture run: uname -m