install a few extra packages
This commit is contained in:
31
.github/workflows/quick-regression.yml
vendored
31
.github/workflows/quick-regression.yml
vendored
@ -24,10 +24,12 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2000
|
||||||
|
|
||||||
- name: Install ccache
|
- name: Install extra packages
|
||||||
run: sudo apt-get install -y ccache
|
run: |
|
||||||
|
sudo apt-get install -y ccache ninja-build
|
||||||
|
sudo apt-get install -y libeigen3-dev libgsl-dev libcurl4-openssl-dev python3-dev
|
||||||
|
|
||||||
- name: Create Build Environment
|
- name: Create Build Environment
|
||||||
run: mkdir build
|
run: mkdir build
|
||||||
@ -41,23 +43,30 @@ jobs:
|
|||||||
|
|
||||||
- name: Building LAMMPS via CMake
|
- name: Building LAMMPS via CMake
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: build
|
|
||||||
run: |
|
run: |
|
||||||
ccache -z
|
ccache -z
|
||||||
python3 -m venv linuxenv
|
python3 -m venv linuxenv
|
||||||
source linuxenv/bin/activate
|
source linuxenv/bin/activate
|
||||||
python3 -m pip install numpy
|
python3 -m pip install numpy
|
||||||
python3 -m pip install pyyaml
|
python3 -m pip install pyyaml
|
||||||
cmake -C ../cmake/presets/gcc.cmake \
|
cmake -S cmake -B build \
|
||||||
-C ../cmake/presets/most.cmake \
|
-C cmake/presets/gcc.cmake \
|
||||||
-D DOWNLOAD_POTENTIALS=off \
|
-C cmake/presets/most.cmake \
|
||||||
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache \
|
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache \
|
||||||
-D CMAKE_C_COMPILER_LAUNCHER=ccache \
|
-D CMAKE_C_COMPILER_LAUNCHER=ccache \
|
||||||
-D ENABLE_TESTING=on \
|
|
||||||
-D BUILD_SHARED_LIBS=on \
|
-D BUILD_SHARED_LIBS=on \
|
||||||
-D LAMMPS_EXCEPTIONS=on \
|
-D DOWNLOAD_POTENTIALS=off \
|
||||||
../cmake
|
-D ENABLE_TESTING=on \
|
||||||
cmake --build . --parallel 2
|
-D PKG_MANIFOLD=on \
|
||||||
|
-D PKG_ML-PACE=on \
|
||||||
|
-D PKG_ML-RANN=on \
|
||||||
|
-D PKG_RHEO=on \
|
||||||
|
-D PKG_PTM=on \
|
||||||
|
-D PKG_PYTHON=on \
|
||||||
|
-D PKG_QTB=on \
|
||||||
|
-D PKG_SMTBQ=on \
|
||||||
|
-G Ninja
|
||||||
|
cmake --build build
|
||||||
ccache -s
|
ccache -s
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
|
|||||||
Reference in New Issue
Block a user