Skip to content

Commit

Permalink
Fix build for heur (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkobeaga committed Apr 8, 2021
1 parent aa6713e commit ed4f8f9
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: Build
name: Build-Exact

on:
pull_request:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/build-heur.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

name: Build-Heur

on:
pull_request:
paths-ignore:
- '**.md'
push:
branches: [ main ]
paths-ignore:
- '**.md'

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
#- name: make distcheck
#run: make distcheck
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# op-solver
> Algorithms for the Orienteering Problem
[![Actions Status](https://github.com/gkobeaga/op-solver/workflows/Build/badge.svg)](https://github.com/gkobeaga/op-solver/actions)
[![Actions Status](https://github.com/gkobeaga/op-solver/workflows/Build-Heur/badge.svg)](https://github.com/gkobeaga/op-solver/actions)
[![Actions Status](https://github.com/gkobeaga/op-solver/workflows/Build-Exact/badge.svg)](https://github.com/gkobeaga/op-solver/actions)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/gkobeaga/op-solver/blob/master/LICENSE)

----
Expand Down
20 changes: 11 additions & 9 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,19 @@ SUBDIRS = lib data graph
SUBDIRS += cp ip kp lp op tsp

lib_LTLIBRARIES = libopsolver.la
libopsolver_la_LIBADD = data/libsolver-data.la \
graph/libsolver-graph.la \
lib/libsolver-lib.la \
cp/libsolver-cp.la \
ip/libsolver-ip.la \
kp/libsolver-kp.la \
lp/libsolver-lp.la \
tsp/libsolver-tsp.la
libopsolver_la_LIBADD = \
data/libsolver-data.la \
graph/libsolver-graph.la \
lib/libsolver-lib.la \
cp/libsolver-cp.la \
kp/libsolver-kp.la \
tsp/libsolver-tsp.la

if HAVE_LP_SOLVER
libopsolver_la_LIBADD += @LP_SOLVER_LIB@ -lpthread -lgmp
libopsolver_la_LIBADD += \
ip/libsolver-ip.la \
lp/libsolver-lp.la \
@LP_SOLVER_LIB@ -lpthread -lgmp
endif
libopsolver_la_SOURCES =

Expand Down

0 comments on commit ed4f8f9

Please sign in to comment.