forked from fluent/fluent-bit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
31 lines (24 loc) · 821 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
version: v1-winbuild-{build}
image: Visual Studio 2017
platform:
- Win32
- x64
configuration:
- Release
install:
- if %PLATFORM%==x86 (set MSYS2_MSYSTEM=MINGW32) else set MSYS2_MSYSTEM=MINGW64
- if %PLATFORM%==x86 (set MSYS2_PREFIX=C:\msys64\mingw32) else set MSYS2_PREFIX=C:\msys64\mingw64
- cmd: set PATH=%MSYS2_PREFIX%\bin;C:\msys64\usr\bin;%PATH%
- cmd: C:\msys64\usr\bin\pacman -Su --noconfirm bison flex
before_build:
- cmd: if "%platform%"=="Win32" set msvc=Visual Studio 15 2017
- cmd: if "%platform%"=="x64" set msvc=Visual Studio 15 2017 Win64
build_script:
- powershell ".\ci\do-ut.ps1;exit $LASTEXITCODE"
- cd build
- cpack -C "%configuration%"
artifacts:
- path: build/td-agent-bit-*.exe
name: td-agent-bit
- path: build/td-agent-bit-*.zip
name: td-agent-bit-zip