Check if it is possible to build project with C++20 on current CI
This commit is contained in:
parent
8bf2d9ee14
commit
f4b5004f1e
76
.github/workflows/osrm-backend.yml
vendored
76
.github/workflows/osrm-backend.yml
vendored
@ -73,32 +73,32 @@ jobs:
|
|||||||
# replacesArtifacts: true
|
# replacesArtifacts: true
|
||||||
# token: ${{ secrets.GITHUB_TOKEN }}
|
# token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
format-taginfo-docs:
|
# format-taginfo-docs:
|
||||||
runs-on: ubuntu-22.04
|
# runs-on: ubuntu-22.04
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
- name: Use Node.js
|
# - name: Use Node.js
|
||||||
uses: actions/setup-node@v3
|
# uses: actions/setup-node@v3
|
||||||
with:
|
# with:
|
||||||
node-version: 18
|
# node-version: 18
|
||||||
- name: Enable Node.js cache
|
# - name: Enable Node.js cache
|
||||||
uses: actions/cache@v3
|
# uses: actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: ~/.npm
|
# path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
${{ runner.os }}-node-
|
# ${{ runner.os }}-node-
|
||||||
- name: Prepare environment
|
# - name: Prepare environment
|
||||||
run: |
|
# run: |
|
||||||
npm ci --ignore-scripts
|
# npm ci --ignore-scripts
|
||||||
clang-format-15 --version
|
# clang-format-15 --version
|
||||||
- name: Run checks
|
# - name: Run checks
|
||||||
run: |
|
# run: |
|
||||||
./scripts/check_taginfo.py taginfo.json profiles/car.lua
|
# ./scripts/check_taginfo.py taginfo.json profiles/car.lua
|
||||||
./scripts/format.sh && ./scripts/error_on_dirty.sh
|
# ./scripts/format.sh && ./scripts/error_on_dirty.sh
|
||||||
node ./scripts/validate_changelog.js
|
# node ./scripts/validate_changelog.js
|
||||||
npm run docs && ./scripts/error_on_dirty.sh
|
# npm run docs && ./scripts/error_on_dirty.sh
|
||||||
npm audit --production
|
# npm audit --production
|
||||||
|
|
||||||
# docker-image:
|
# docker-image:
|
||||||
# needs: format-taginfo-docs
|
# needs: format-taginfo-docs
|
||||||
@ -144,20 +144,20 @@ jobs:
|
|||||||
# docker stop osrm-container
|
# docker stop osrm-container
|
||||||
|
|
||||||
build-test-publish:
|
build-test-publish:
|
||||||
needs: format-taginfo-docs
|
# needs: format-taginfo-docs
|
||||||
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-22.04
|
# runs-on: ubuntu-22.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
|
||||||
@ -270,7 +270,7 @@ jobs:
|
|||||||
- name: gcc-11-release
|
- name: gcc-11-release
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
node: 20
|
node: 20
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
BUILD_TOOLS: ON
|
BUILD_TOOLS: ON
|
||||||
BUILD_TYPE: Release
|
BUILD_TYPE: Release
|
||||||
CCOMPILER: gcc-11
|
CCOMPILER: gcc-11
|
||||||
|
Loading…
Reference in New Issue
Block a user