use windows style pathnames
This commit is contained in:
16
.github/workflows/compile-msvc.yml
vendored
16
.github/workflows/compile-msvc.yml
vendored
@ -57,23 +57,13 @@ jobs:
|
|||||||
ccache -z
|
ccache -z
|
||||||
python3 -m pip install numpy
|
python3 -m pip install numpy
|
||||||
python3 -m pip install pyyaml
|
python3 -m pip install pyyaml
|
||||||
cmake -C cmake/presets/windows.cmake \
|
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
|
||||||
-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 --build build --parallel 2
|
cmake --build build --parallel 2
|
||||||
|
|
||||||
- name: Run LAMMPS executable
|
- name: Run LAMMPS executable
|
||||||
run: |
|
run: |
|
||||||
./build/lmp.exe -h
|
build\lmp.exe -h
|
||||||
./build/lmp.exe -in bench/in.lj
|
build\lmp.exe -in bench\in.lj
|
||||||
|
|
||||||
- name: Run Unit Tests
|
- name: Run Unit Tests
|
||||||
working-directory: build
|
working-directory: build
|
||||||
|
|||||||
Reference in New Issue
Block a user