Skip to content

Merge branch 'update/gcc-12-in-CI' #479

Merge branch 'update/gcc-12-in-CI'

Merge branch 'update/gcc-12-in-CI' #479

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++-12', 'clang++-14']
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
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