forked from fluent/fluent-bit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (28 loc) · 1016 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
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:
- powershell ".\ci\do-ut.ps1;exit $LASTEXITCODE"
- cd build
- cpack
artifacts:
- path: build/td-agent-bit-*.exe
name: td-agent-bit
- path: build/td-agent-bit-*.zip
name: td-agent-bit-zip