use windows style pathnames

This commit is contained in:
Axel Kohlmeyer
2024-08-31 15:10:11 -04:00
parent 34bd2c4f2a
commit 06bee65a1a

View File

@ -57,23 +57,13 @@ jobs:
ccache -z
python3 -m pip install numpy
python3 -m pip install pyyaml
cmake -C cmake/presets/windows.cmake \
-D CMAKE_CXX_COMPILER_LAUNCHER=$(which ccache) \
-D CMAKE_C_COMPILER_LAUNCHER=$(which ccache) \
-D DOWNLOAD_POTENTIALS=off \
-D PKG_PYTHON=on \
-D WITH_PNG=off \
-D WITH_JPEG=off \
-S cmake -B build \
-D BUILD_SHARED_LIBS=on \
-D ENABLE_TESTING=on \
-D Ninja
cmake -C cmake\presets\windows.cmake -D CMAKE_CXX_COMPILER=cl -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D CMAKE_C_COMPILER=cl -D CMAKE_C_COMPILER_LAUNCHER=ccache -D DOWNLOAD_POTENTIALS=off -D PKG_PYTHON=on -D WITH_PNG=off -D WITH_JPEG=off -S cmake -B build -D BUILD_SHARED_LIBS=on -D ENABLE_TESTING=on -G Ninja
cmake --build build --parallel 2
- name: Run LAMMPS executable
run: |
./build/lmp.exe -h
./build/lmp.exe -in bench/in.lj
build\lmp.exe -h
build\lmp.exe -in bench\in.lj
- name: Run Unit Tests
working-directory: build