Skip to content

Commit acb98d2

Browse files
committed
Add x86_64-pc-windows-msvc test to CI
Signed-off-by: Alexander Rodin <rodin.alexander@gmail.com>
1 parent 3d396b1 commit acb98d2

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

.circleci/config.yml

+31-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ test-install-script: &test-install-script
2626
# Main document
2727
#
2828

29-
version: 2
29+
version: 2.1
30+
31+
orbs:
32+
win: circleci/windows@1.0.0
3033

3134
jobs:
3235
#
@@ -76,6 +79,32 @@ jobs:
7679
name: Check version
7780
command: make check-version
7881

82+
test-x86_64-pc-windows-msvc:
83+
executor: win/vs2019
84+
steps:
85+
- run:
86+
name: Install Rust
87+
shell: bash
88+
command: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly-2019-11-19
89+
- run:
90+
name: Install Perl
91+
shell: bash
92+
command: |
93+
VERSION=5.30.0.1
94+
# we need to verify checksum because strawberryperl.com doesn't support HTTPS
95+
SHA256SUM=459de13a284a4c83213208c9caa1c372c81136b6e863a3f13d42f631048e0b12
96+
curl http://strawberryperl.com/download/$VERSION/strawberry-perl-$VERSION-64bit.msi > perl-installer.msi &&
97+
echo "$SHA256SUM perl-installer.msi" | sha256sum --check --status &&
98+
msiexec /quiet /i perl-installer.msi
99+
- checkout
100+
- run:
101+
name: Build Vector
102+
shell: bash
103+
command: |
104+
RUSTFLAGS=-Ctarget-feature=+crt-static
105+
rm rust-toolchain # because we need nightly
106+
cargo +nightly test --no-default-features --features="leveldb leveldb/leveldb-sys-3 rdkafka rdkafka/cmake_build
107+
79108
test-stable:
80109
resource_class: xlarge
81110
docker:
@@ -633,6 +662,7 @@ workflows:
633662
- check-version:
634663
<<: *master-filters
635664
- test-stable
665+
- test-x86_64-pc-windows-msvc
636666

637667
# Build & verify
638668

0 commit comments

Comments
 (0)