Skip to content

Merge branch 'enhancement/clang-format-18' #594

Merge branch 'enhancement/clang-format-18'

Merge branch 'enhancement/clang-format-18' #594

Workflow file for this run

name: vroom
on:
push:
branches:
- master
tags:
- 'v*.*.*'
paths-ignore:
- '**.md'
pull_request:
branches:
- master
paths-ignore:
- '**.md'
jobs:
vroom:
strategy:
matrix:
cxx: [g++-14, clang++-18]
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libasio-dev libglpk-dev jq
- name: Build vroom
run: make -j
env:
CXX: ${{ matrix.cxx }}
working-directory: src
- name: Validate output
run: diff <(bin/vroom -i docs/example_2.json | jq '.routes[].steps[]' --sort-keys) <(jq '.routes[].steps[]' --sort-keys docs/example_2_sol.json)
- name: Build libvroom example
run: make -j
env:
CXX: ${{ matrix.cxx }}
working-directory: libvroom_examples