Skip to content

Commit 6c2d601

Browse files
committed
Test build of vcxproj files in CI
Build the Visual Studio project file and (re-)build CBMC using that project file via msbuild.
1 parent 27cd164 commit 6c2d601

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

buildspec-windows.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ phases:
3232
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make -j4 -C jbmc/src setup-submodules" && bash -c "make CXX=clcache.exe -j4 -C jbmc/src BUILD_ENV=MSVC" '
3333
cmd /c 'call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 && bash -c "make CXX=clcache.exe -j4 -C jbmc/unit all BUILD_ENV=MSVC" '
3434
35+
- |
36+
$env:Path = "C:\tools\cygwin\bin;c:\tools\clcache\clcache-4.1.0;$env:Path"
37+
$env:CLCACHE_DIR = "C:\clcache"
38+
$env:CLCACHE_BASEDIR = (Get-Item -Path ".\").FullName
39+
cmd /c 'bash -c "cd scripts ; ./generate_vcxproj"'
40+
$env:Path = "C:\Program Files (x86)\MSBuild\14.0\Bin;$env:Path"
41+
msbuild /p:CLToolExe=clcache.exe /m:4 cbmc.vcxproj
42+
3543
- |
3644
# display cache stats
3745
$env:Path = "C:\tools\cygwin\bin;c:\tools\clcache\clcache-4.1.0;$env:Path"

0 commit comments

Comments
 (0)