Skip to content

Commit a589684

Browse files
committed
Move cargotest to separate jobs on Travis-CI and AppVeyor
1 parent 033d7f6 commit a589684

File tree

4 files changed

+27
-1
lines changed

4 files changed

+27
-1
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ matrix:
117117
- env: IMAGE=x86_64-gnu
118118
- env: IMAGE=x86_64-gnu-full-bootstrap
119119
- env: IMAGE=x86_64-gnu-aux
120+
- env: IMAGE=x86_64-gnu-cargotest
120121
- env: IMAGE=x86_64-gnu-debug
121122
- env: IMAGE=x86_64-gnu-nopt
122123
- env: IMAGE=x86_64-gnu-distcheck

appveyor.yml

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ environment:
2424
RUST_CHECK_TARGET: check-aux
2525
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
2626

27+
# MSVC cargotest
28+
- MSYS_BITS: 64
29+
SCRIPT: python x.py src/tools/cargotest
30+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
31+
2732
# 32/64-bit MinGW builds.
2833
#
2934
# We are using MinGW with posix threads since LLVM does not compile with

src/bootstrap/mk/Makefile.in

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ check:
5252
$(Q)$(BOOTSTRAP) test $(BOOTSTRAP_ARGS)
5353
check-aux:
5454
$(Q)$(BOOTSTRAP) test \
55-
src/tools/cargotest \
5655
src/tools/cargo \
5756
src/tools/rls \
5857
src/test/pretty \
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM ubuntu:16.04
2+
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
g++ \
5+
make \
6+
file \
7+
curl \
8+
ca-certificates \
9+
python2.7 \
10+
git \
11+
cmake \
12+
libssl-dev \
13+
sudo \
14+
xz-utils \
15+
pkg-config
16+
17+
COPY scripts/sccache.sh /scripts/
18+
RUN sh /scripts/sccache.sh
19+
20+
ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu
21+
ENV SCRIPT python2.7 ../x.py test src/tools/cargotest

0 commit comments

Comments
 (0)