diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de1f39d44cbb99890e37c1291b41825542fd0e0e..5134283fb2913158d23cd94bf14ecd7d0b2c69f8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ stages: - build_debug - run_unit_tests - build_release + - test_tadah_lammps cache: paths: @@ -41,3 +42,15 @@ build_release_static: - cd ${RELEASE_STATIC_DIR} - cmake ../.. -DCMAKE_BUILD_TYPE=Release -DTADAH_ENABLE_OPENMP=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=${INSTALL_PATH} - make -j ${CPU_BUILD} + +test_tadah_lammps: + stage: build_debug + script: + - mkdir -p ~/opt + - git clone --depth 1 https://github.com/lammps/lammps.git ~/opt/lammps + - git clone https://git.ecdf.ed.ac.uk/tadah/tadah.lammps.git ~/opt/lammps/lib/tadah.lammps + - cd ~/opt/lammps/src + - make -j10 serial + - make lib-tadah.lammps + - make yes-ml-tadah + - make -j10 serial