diff --git a/.github/workflows/compile-msvc.yml b/.github/workflows/compile-msvc.yml index a8b2398cc5..c5a40dec45 100644 --- a/.github/workflows/compile-msvc.yml +++ b/.github/workflows/compile-msvc.yml @@ -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