-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathappveyor.yml
39 lines (34 loc) · 1004 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
37
38
39
version: '{build}'
os:
- Visual Studio 2019
environment:
matrix:
- TARGET: x86_64-pc-windows-msvc
BITS: 64
ruby_version: "27-x64"
devkit: C:\Ruby23-x64\DevKit
- TARGET: x86_64-pc-windows-msvc
BITS: 64
ruby_version: "27"
devkit: C:\Ruby23\DevKit
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- if defined MSYS2 set PATH=C:\msys64\mingw%BITS%\bin;%PATH%
- rustc -V
- cargo -V
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- ridk.cmd enable
- ruby --version
- gem install bundler:2.2.15 --no-document
- bundle install
build: false
before_test:
ps: |
$job = Start-Process bundle -ArgumentList "exec", "fluentd","-c", ".\conf\in_forward.conf" -NoNewWindow -PassThru
$Env:FLUENTD_JOB_ID = $job.Id
test_script:
- cargo test --features "readme-testing fluentd"
after_test:
- ps: Stop-Process -Id $Env:FLUENTD_JOB_ID