Skip to content

Commit 65263d1

Browse files
Cargo cult
1 parent 7b89468 commit 65263d1

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

buildspec-windows-cmake.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,20 @@ phases:
2525
if (-not $?) {
2626
exit 1
2727
}
28-
mkdir build
29-
cd build
30-
31-
cmake .. -G Ninja -DCMAKE_C_COMPILER=clcache.exe -DCMAKE_CXX_COMPILER=clcache.exe -DCMAKE_BUILD_TYPE=Release
28+
cmake -S . -Bbuild -G Ninja "-DCMAKE_C_COMPILER=clcache.exe" "-DCMAKE_CXX_COMPILER=clcache.exe" "-DCMAKE_BUILD_TYPE=Release"
3229
if (-not $?) {
3330
exit 1
3431
}
3532
Get-Content build.ninja
36-
cmake --build . --config Release --target cbmc
33+
cmake --build build --config Release --target cbmc
3734
if (-not $?) {
3835
exit 1
3936
}
40-
cmake --build . --config Release --target jbmc
37+
cmake --build build --config Release --target jbmc
4138
if (-not $?) {
4239
exit 1
4340
}
44-
cmake --build . --config Release --target unit
41+
cmake --build build --config Release --target unit
4542
if (-not $?) {
4643
exit 1
4744
}

0 commit comments

Comments
 (0)