Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Dec 6, 2024
1 parent 0cc465e commit c3bbd94
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docker/centos7-build
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,18 @@ RUN source /opt/rh/devtoolset-11/enable && \
cmake --build _build --config Release -j${NPROC} &&\
ccache -s
# tests

RUN export PATH=/root/miniconda3/condabin:$PATH && \
XPRESS_DIR=/root/miniconda3/lib/python3.8/site-packages/xpress && \
export XPRESSDIR=$XPRESS_DIR \
export XPAUTH_PATH=$XPRESS_DIR/license/community-xpauth.xpr && \
echo "Create symbolic link for XPRESS library file because it is missing in the Python installation" && \
ln -s $XPRESS_DIR/lib/libxprs.so.42 $XPRESS_DIR/lib/libxprs.so && \
export PATH="/workspace/antares-xpansion/_build/vcpkg_installed/x64-linux-release/tools/openmpi/bin:$PATH" && \
pushd tests/end_to_end && \
behave --tags ~@flaky cucumber/features --no-capture --no-capture-stderr --format pretty && \
popd && \
cd _build && \
ctest -C Release --output-on-failure -L "unit|benders|lpnamer|medium"
# Install
RUN cd _build && \
cmake --install .
Expand Down

0 comments on commit c3bbd94

Please sign in to comment.