From 00bdcd70af47c2f1a09463b27e2c2a5a7ac17ee1 Mon Sep 17 00:00:00 2001 From: Marcin Kirsz <marcin.kirsz@ed.ac.uk> Date: Mon, 6 Jan 2025 11:54:43 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de1f39d..5134283 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 -- GitLab