Skip to content

Commit f25b8fb

Browse files
committed
Fix Perl path
Signed-off-by: Alexander Rodin <rodin.alexander@gmail.com>
1 parent 5fa0ec0 commit f25b8fb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.circleci/config.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,18 @@ jobs:
101101
echo "$SHA256SUM perl-installer.msi" | sha256sum --check --status
102102
- run:
103103
name: Install Perl
104-
shell: cmd.exe
105-
command: |
106-
msiexec /quiet /i perl-installer.msi
104+
shell: cmd.exe # installation times out with bash shell
105+
msiexec /queit /i perl-installer.msi
107106
del perl-installer.msi
108107
- run:
109108
name: Build and test
110-
shell: cmd.exe
111-
command: scripts\test-msvc.bat
109+
shell: bash
110+
command: |
111+
RUSTFLAGS=-Ctarget-feature=+crt-static
112+
PATH="$HOME/.cargo/bin:/c/Strawberry/perl/bin:$PATH"
113+
FEATURES="leveldb leveldb/leveldb-sys-3 rdkafka rdkafka/cmake_build"
114+
rm rust-toolchain
115+
cargo test --no-default-features --features "$FEATURES"
112116
# - run:
113117
# name: Build and test
114118
# shell: bash

scripts/test-msvc.bat

-4
This file was deleted.

0 commit comments

Comments
 (0)