Skip to content

Commit

Permalink
CI: add checks to make sure the windows build completed properly
Browse files Browse the repository at this point in the history
Signed-off-by: Raluca Chis <raluca.chis@analog.com>
  • Loading branch information
Raluca Chis authored and pcercuei committed Feb 24, 2022
1 parent e5f8ece commit c17813b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CI/build_win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ cd build-x64

cmake -G "$COMPILER" -DCMAKE_SYSTEM_PREFIX_PATH="C:" -DENABLE_IPV6=OFF -DWITH_USB_BACKEND=ON -DWITH_SERIAL_BACKEND=ON -DPYTHON_BINDINGS=ON -DCSHARP_BINDINGS:BOOL=ON -DLIBXML2_LIBRARIES="C:\\libs\\64\\libxml2.lib" -DLIBUSB_LIBRARIES="C:\\libs\\64\\libusb-1.0.lib" -DLIBSERIALPORT_LIBRARIES="C:\\libs\\64\\libserialport.dll.a" -DLIBUSB_INCLUDE_DIR="C:\\include\\libusb-1.0" -DLIBXML2_INCLUDE_DIR="C:\\include\\libxml2" ..
cmake --build . --config Release
if ( $LASTEXITCODE -ne 0 ) {
throw "[*] cmake build failure"
}
cp .\libiio.iss $env:BUILD_ARTIFACTSTAGINGDIRECTORY

cd bindings/python
Expand Down

0 comments on commit c17813b

Please sign in to comment.