Skip to content

Commit

Permalink
Merge branch 'enhancement/build-libvroom-in-CI'
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoupey committed May 31, 2021
2 parents 80d20b3 + 2e62a1c commit 7be0b4f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/vroom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@ jobs:
uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install libasio-dev libglpk-dev jq
- name: Make
- name: Build vroom
run: make
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
env:
CXX: ${{ matrix.cxx }}
working-directory: libvroom_examples
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added

- Github Actions CI (#436)
- Check for libvroom example build in CI (#514)

### Changed

Expand Down
2 changes: 1 addition & 1 deletion libvroom_examples/makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CXX ?= g++
CXXFLAGS = -I../src -std=c++17 -Wextra -Wpedantic -Wall -O3
LDLIBS = -L../lib/ -lvroom -lboost_system -lpthread -lssl -lcrypto
LDLIBS = -L../lib/ -lvroom -lpthread -lssl -lcrypto

# Checking for libglpk based on whether the header file is found as
# glpk does not provide a pkg-config setup.
Expand Down

0 comments on commit 7be0b4f

Please sign in to comment.