Skip to content

Commit 304a7c7

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 304a7c7

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

.circleci/config.yml

+32-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,33 @@ 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 -sSf \
97+
http://strawberryperl.com/download/$VERSION/strawberry-perl-$VERSION-64bit.msi > perl-installer.msi &&
98+
echo "$SHA256SUM perl-installer.msi" | sha256sum --check --status &&
99+
msiexec /quiet /i perl-installer.msi
100+
- checkout
101+
- run:
102+
name: Build Vector
103+
shell: bash
104+
command: |
105+
RUSTFLAGS=-Ctarget-feature=+crt-static
106+
rm rust-toolchain # because we need nightly
107+
cargo +nightly test --no-default-features --features="leveldb leveldb/leveldb-sys-3 rdkafka rdkafka/cmake_build
108+
79109
test-stable:
80110
resource_class: xlarge
81111
docker:
@@ -633,6 +663,7 @@ workflows:
633663
- check-version:
634664
<<: *master-filters
635665
- test-stable
666+
- test-x86_64-pc-windows-msvc
636667

637668
# Build & verify
638669

0 commit comments

Comments
 (0)