Skip to content

Commit ed4f8f9

Browse files
committed
Fix build for heur (#4)
1 parent aa6713e commit ed4f8f9

File tree

4 files changed

+44
-11
lines changed

4 files changed

+44
-11
lines changed

.github/workflows/build-test.yml .github/workflows/build-exact.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
name: Build
2+
name: Build-Exact
33

44
on:
55
pull_request:

.github/workflows/build-heur.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
name: Build-Heur
3+
4+
on:
5+
pull_request:
6+
paths-ignore:
7+
- '**.md'
8+
push:
9+
branches: [ main ]
10+
paths-ignore:
11+
- '**.md'
12+
13+
workflow_dispatch:
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: autogen
22+
run: ./autogen.sh
23+
- name: configure
24+
run: ./configure
25+
- name: make
26+
run: make
27+
- name: make check
28+
run: make check
29+
#- name: make distcheck
30+
#run: make distcheck

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# op-solver
22
> Algorithms for the Orienteering Problem
33
4-
[![Actions Status](https://github.com/gkobeaga/op-solver/workflows/Build/badge.svg)](https://github.com/gkobeaga/op-solver/actions)
4+
[![Actions Status](https://github.com/gkobeaga/op-solver/workflows/Build-Heur/badge.svg)](https://github.com/gkobeaga/op-solver/actions)
5+
[![Actions Status](https://github.com/gkobeaga/op-solver/workflows/Build-Exact/badge.svg)](https://github.com/gkobeaga/op-solver/actions)
56
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/gkobeaga/op-solver/blob/master/LICENSE)
67

78
----

src/Makefile.am

+11-9
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,19 @@ SUBDIRS = lib data graph
44
SUBDIRS += cp ip kp lp op tsp
55

66
lib_LTLIBRARIES = libopsolver.la
7-
libopsolver_la_LIBADD = data/libsolver-data.la \
8-
graph/libsolver-graph.la \
9-
lib/libsolver-lib.la \
10-
cp/libsolver-cp.la \
11-
ip/libsolver-ip.la \
12-
kp/libsolver-kp.la \
13-
lp/libsolver-lp.la \
14-
tsp/libsolver-tsp.la
7+
libopsolver_la_LIBADD = \
8+
data/libsolver-data.la \
9+
graph/libsolver-graph.la \
10+
lib/libsolver-lib.la \
11+
cp/libsolver-cp.la \
12+
kp/libsolver-kp.la \
13+
tsp/libsolver-tsp.la
1514

1615
if HAVE_LP_SOLVER
17-
libopsolver_la_LIBADD += @LP_SOLVER_LIB@ -lpthread -lgmp
16+
libopsolver_la_LIBADD += \
17+
ip/libsolver-ip.la \
18+
lp/libsolver-lp.la \
19+
@LP_SOLVER_LIB@ -lpthread -lgmp
1820
endif
1921
libopsolver_la_SOURCES =
2022

0 commit comments

Comments
 (0)