Skip to content

Commit c73c4d8

Browse files
committed
Use Visual Studio and CMake in Windows CI builds
With CMake we can actually build natively on Windows/Visual Studio, there should not be any need for Cygwin.
1 parent 13a8dc8 commit c73c4d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

buildspec-windows.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ phases:
44
install:
55
commands:
66
- choco install cyg-get -y --no-progress
7+
- choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
78
- cyg-get bash patch bison flex make wget perl jq
89
- nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
910

1011
build:
1112
commands:
13+
- |
14+
cmake -Bbuild -H. -GNMake
15+
cmake --build build
16+
1217
- |
1318
$env:Path = "C:\tools\cygwin\bin;$env:Path"
1419
bash -c "make -C src minisat2-download DOWNLOADER=wget"

0 commit comments

Comments
 (0)