Solution ruin steps #582
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |