mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Cirrus configuration for Windows builds
This commit is contained in:
parent
bf06cc9c2f
commit
2bdc8dd3a4
6 changed files with 53 additions and 7 deletions
11
ci/windows/build.cmd
Normal file
11
ci/windows/build.cmd
Normal file
|
@ -0,0 +1,11 @@
|
|||
:: Import the visual studio compiler environment into the one running in the
|
||||
:: cmd current shell. This path is hard coded to the one on the CI image, but
|
||||
:: can be adjusted if running builds locally. Unfortunately, the initial path
|
||||
:: isn't in the environment so we have to hardcode the whole path.
|
||||
call "c:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake.exe .. -DCMAKE_BUILD_TYPE=release -DENABLE_ZEEK_UNIT_TESTS=yes -G Ninja
|
||||
cmake.exe --build .
|
Loading…
Add table
Add a link
Reference in a new issue