Skip to content

Commit b23d691

Browse files
committed
Try specifying shell
1 parent bb1451c commit b23d691

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.circleci/config.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,18 @@ jobs:
5454
- run:
5555
name: Pre-build (set up MSVC)
5656
command: |
57-
Start-Process -FilePath "<< parameters.vspath >>\VC\Auxiliary\Build\vcvarsall.bat" -ArgumentList << parameters.arch >> -Wait -NoNewWindow
58-
Start-Process -FilePath dist.bat -ArgumentList gen -Wait
59-
& cmake . -G "NMake Makefiles"
57+
"<< parameters.vspath >>\VC\Auxiliary\Build\vcvarsall.bat" << parameters.arch >>
58+
dist.bat gen
59+
cmake . -G "NMake Makefiles"
60+
shell: cmd.exe
6061
- run:
6162
name: Build
62-
command: |
63-
& nmake
63+
command: nmake
64+
shell: cmd.exe
6465
- run:
6566
name: Test
6667
command: ctest -V -LE json
68+
shell: cmd.exe
6769

6870
workflows:
6971
ubuntu-build:

0 commit comments

Comments
 (0)