From f635643b41ed49047c55c7cfccf0a98e58cfcc6e Mon Sep 17 00:00:00 2001 From: Maximilian Kratz Date: Thu, 21 Dec 2023 13:49:27 +0100 Subject: [PATCH] Fixes missing Gurobi + CPLEX paths for Maven tests on CLI --- pom.xml | 10 ++++++++++ scripts/env.sh | 9 ++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index d53fedd..6cfa87c 100644 --- a/pom.xml +++ b/pom.xml @@ -69,6 +69,16 @@ maven-resources-plugin ${maven.resource.version} + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho.version} + + + /opt/gurobi1003/linux64/lib/:/opt/ibm/ILOG/CPLEX_Studio2211/cplex/bin/x86-64_linux/ + + + diff --git a/scripts/env.sh b/scripts/env.sh index d2dad0a..63934cc 100755 --- a/scripts/env.sh +++ b/scripts/env.sh @@ -1,5 +1,4 @@ -set -e -export LD_LIBRARY_PATH=/opt/gurobi1003/linux64/lib/:/opt/ibm/ILOG/CPLEX_Studio2211/cplex/bin/x86-64_linux/ -export GUROBI_HOME=/opt/gurobi1003/linux64/ -export GRB_LICENSE_FILE=/home/mkratz/gurobi.lic -export PATH=$PATH:/opt/gurobi1003/linux64/bin:/opt/ibm/ILOG/CPLEX_Studio2211/cplex/bin/x86-64_linux/ +LD_LIBRARY_PATH=/opt/gurobi1003/linux64/lib/:/opt/ibm/ILOG/CPLEX_Studio2211/cplex/bin/x86-64_linux/ +GUROBI_HOME=/opt/gurobi1003/linux64/ +GRB_LICENSE_FILE=/home/mkratz/gurobi.lic +PATH=$PATH:/opt/gurobi1003/linux64/bin:/opt/ibm/ILOG/CPLEX_Studio2211/cplex/bin/x86-64_linux/