summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/lib/cfl/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluent-bit/lib/cfl/appveyor.yml')
-rw-r--r--src/fluent-bit/lib/cfl/appveyor.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/fluent-bit/lib/cfl/appveyor.yml b/src/fluent-bit/lib/cfl/appveyor.yml
new file mode 100644
index 000000000..1f60cfebc
--- /dev/null
+++ b/src/fluent-bit/lib/cfl/appveyor.yml
@@ -0,0 +1,34 @@
+version: v1-winbuild-{build}
+
+image: Visual Studio 2019
+
+platform:
+ - Win32
+ - x64
+
+environment:
+ vspath: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community'
+ winflexbison: https://github.com/lexxmark/winflexbison/releases/download/v2.5.22/win_flex_bison-2.5.22.zip
+ PATH: '%PATH%;C:\WinFlexBison'
+
+configuration:
+ - Release
+
+skip_commits:
+ message: /workflows/
+ files:
+ - '.github/**'
+
+install:
+ - ps: Invoke-WebRequest -O winflexbison.zip $env:winflexbison
+ - ps: Expand-Archive winflexbison.zip -Destination /WinFlexBison
+ - ps: Copy-Item -Path /WinFlexBison/win_bison.exe /WinFlexBison/bison.exe
+ - ps: Copy-Item -Path /WinFlexBison/win_flex.exe /WinFlexBison/flex.exe
+
+before_build:
+ - if %PLATFORM%==Win32 call "%vspath%\VC\Auxiliary\Build\vcvars32.bat"
+ - if %PLATFORM%==x64 call "%vspatH%\VC\Auxiliary\Build\vcvars64.bat"
+
+build_script:
+ - .\scripts\win_build.bat
+ - ctest -C Debug --test-dir .\tests\