correct path to preset file and do two quick runs for checking the binary

This commit is contained in:
Axel Kohlmeyer
2021-10-09 19:55:30 -04:00
parent 2e122ff62b
commit 5ad7e5a815

View File

@ -20,8 +20,14 @@ jobs:
- name: Building LAMMPS via CMake
shell: bash
run: |
cmake -C ../cmake/presets/windowws.cmake \
cmake -C cmake/presets/windows.cmake \
-S cmake -B build \
-D BUILD_SHARED_LIBS=on \
-D LAMMPS_EXCEPTIONS=on
cmake --build build --config Release
- name: Run LAMMPS executable
shell: bash
run: |
./build/Release/lmp.exe -h
./build/Release/lmp.exe -in bench/in.lj