Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
6937fc86
Commit
6937fc86
authored
10 months ago
by
Studer Gabriel
Browse files
Options
Downloads
Patches
Plain Diff
fix CI: change base image from CentOS7 to Ubuntu 22.04
parent
bd894226
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+34
-64
34 additions, 64 deletions
.gitlab-ci.yml
with
34 additions
and
64 deletions
.gitlab-ci.yml
+
34
−
64
View file @
6937fc86
...
@@ -6,76 +6,45 @@
...
@@ -6,76 +6,45 @@
stages
:
stages
:
-
test
-
test
#
CentOS7
STAGE
#
Ubuntu22.04
STAGE
test:
centos7.3
:
test:
ubuntu22.04
:
stage
:
test
stage
:
test
image
:
centos:7.3.1611
image
:
ubuntu:22.04
before_script
:
before_script
:
-
echo "Running centos7.3 'before_script'..."
-
echo "Running ubuntu22.04 'before_script'..."
-
yum -y -q -e 0 install tcl
-
apt-get update -y
-
yum -y -q -e 0 install glibc-common
-
apt-get install -y cmake
-
yum -y -q -e 0 install glibc-devel
-
apt-get install -y g++
-
yum -y -q -e 0 install make
-
apt-get install -y wget
-
yum -y -q -e 0 install libicu
-
apt-get install -y libsqlite3-dev
-
yum -y -q -e 0 install libjpeg-turbo
-
apt-get install -y sip-dev
-
yum -y -q -e 0 install freetype
-
apt-get install -y libtiff-dev
-
yum -y -q -e 0 install openssl
-
apt-get install -y libfftw3-dev
-
mkdir -p /scicore/soft/modules
-
apt-get install -y libeigen3-dev
-
ln -s /export/soft/apps/centos7/generic /scicore/soft/apps
-
apt-get install -y libboost-all-dev
-
ln -s /export/soft/modules/centos7/generic/all /scicore/soft/modules
-
apt-get install -y libpng-dev
-
source /export/soft/lua_lmod/centos7/lmod/lmod/init/bash
-
apt-get install -y python3-all
-
module use /scicore/soft/modules/all
-
apt-get install -y python3-numpy
-
module load foss/2021a
-
apt-get install -y python3-scipy
-
module load wget/1.21.1-GCCcore-10.3.0
-
apt-get install -y python3-networkx
-
module load CMake/3.23.1-GCCcore-10.3.0
-
apt-get install -y clustalw
-
module load Python/3.9.5-GCCcore-10.3.0
-
apt-get install -y voronota
-
module load Eigen/3.4.0-GCCcore-10.3.0
-
apt-get install -y libopenmm-dev
-
module load Boost.Python/1.76.0-GCC-10.3.0
-
apt-get install -y libparasail-dev
-
module load LibTIFF/.4.2.0-GCCcore-10.3.0
-
echo "... done running ubuntu22.04 'before_script'."
-
module load libpng/.1.6.37-GCCcore-10.3.0
-
module load HH-suite/3.2.0-gompi-2021a
-
module load Perl/5.32.1-GCCcore-10.3.0
-
module load OpenMM/7.7.0-foss-2021a
-
module load SQLite/3.35.4-GCCcore-10.3.0
-
module load dssp/2.2.1-foss-2021a
-
module load msms/2.6.1-linux-x86_64
-
module load ClustalW2/2.1-foss-2021a
-
module load networkx/2.5.1-foss-2021a
-
echo "... done running centos7.3 'before_script'."
script
:
script
:
-
echo "Testing on
CentOS 7
..."
-
echo "Testing on
Ubuntu 22.04
..."
-
echo " Building OST..."
-
echo " Building OST..."
-
mkdir build-ci
-
mkdir build-ci
-
cd build-ci
-
cd build-ci
-
cmake .. -DENABLE_MM=1
-
cmake .. -DOPTIMIZE=ON
-DOPEN_MM_LIBRARY=$EBROOTOPENMM/lib/libOpenMM.so
-DENABLE_GFX=ON
-DOPEN_MM_PLUGIN_DIR=$EBROOTOPENMM/lib/plugins
-DOPEN_MM_INCLUDE_DIR=$EBROOTOPENMM/include
-DCOMPILE_TMTOOLS=1
-DENABLE_INFO=OFF
-DENABLE_GFX=OFF
-DENABLE_GUI=OFF
-DENABLE_GUI=OFF
-DUSE_RPATH=1
-DENABLE_INFO=OFF
-DPython_ROOT_DIR=$EBROOTPYTHON
-DENABLE_MM=1
-DEIGEN3_INCLUDE_DIR=$EBROOTEIGEN/include
-DOPEN_MM_PLUGIN_DIR=/usr/lib/x86_64-linux-gnu/openmm
-DFFTW_LIBRARY=$EBROOTFFTW/lib/libfftw3f.a
-DENABLE_PARASAIL=1
-DFFTW_INCLUDE_DIR=$EBROOTFFTW/include
-
make -j
2
-DSQLITE3_LIBRARY=$EBROOTSQLITE/lib/libsqlite3.so
-DSQLITE3_INCLUDE_DIR=$EBROOTSQLITE/include
-DBOOST_ROOT=$EBROOTBOOST
-DPNG_LIBRARY=$EBROOTLIBPNG/lib/libpng.so
-DPNG_PNG_INCLUDE_DIR=$EBROOTLIBPNG/include
-DZLIB_LIBRARY=$EBROOTZLIB/lib/libz.so
-DZLIB_INCLUDE_DIR=$EBROOTZLIB/include
-DTIFF_INCLUDE_DIR=$EBROOTLIBTIFF/include
-DTIFF_LIBRARY=$EBROOTLIBTIFF/lib/libtiff.so
-DZLIB_INCLUDE_DIR=$EBROOTZLIB/include
-DZLIB_LIBRARY=$EBROOTZLIB/lib/libz.so
-DOPTIMIZE=1
-DCMAKE_C_FLAGS='-L${EBROOTLIBPNG}/lib/ -L${EBROOTLIBTIFF}/lib/ -L${EBROOTZLIB}/lib/ -isystem ${EBROOTBOOST}/include -isystem ${EBROOTOPENMM}/include'
-DCMAKE_CXX_FLAGS='-L${EBROOTLIBPNG}/lib/ -L${EBROOTLIBTIFF}/lib/ -L${EBROOTZLIB}/lib/ -isystem ${EBROOTBOOST}/include -isystem ${EBROOTOPENMM}/include'
-DCMAKE_EXE_LINKER_FLAGS=" -pthread"
-
make -j 2 chemdict_tool
-
echo " ... done building OST."
-
echo " ... done building OST."
-
echo " Downloading chemical compounds..."
-
echo " Downloading chemical compounds..."
-
wget ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz
-
wget ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz
...
@@ -91,4 +60,5 @@ test:centos7.3:
...
@@ -91,4 +60,5 @@ test:centos7.3:
-
echo " Running unit tests for OST..."
-
echo " Running unit tests for OST..."
-
make check
-
make check
-
echo " ... done running unit tests for OST..."
-
echo " ... done running unit tests for OST..."
-
echo "... done testing on CentOS 7."
-
echo "... done testing on Ubuntu 22.04."
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment