File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,8 @@ matrix:
186186 if : branch = auto
187187 - env : IMAGE=mingw-check
188188 if : type = pull_request OR branch = auto
189+ - env : IMAGE=nvptx-cuda
190+ if : branch = auto
189191
190192 - stage : publish toolstate
191193 if : branch = master AND type = push
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ ENV TARGETS=$TARGETS,x86_64-sun-solaris
7070ENV TARGETS=$TARGETS,x86_64-unknown-linux-gnux32
7171ENV TARGETS=$TARGETS,x86_64-unknown-cloudabi
7272ENV TARGETS=$TARGETS,x86_64-fortanix-unknown-sgx
73+ ENV TARGETS=$TARGETS,nvptx64-nvidia-cuda
7374
7475ENV X86_FORTANIX_SGX_LIBS="/x86_64-fortanix-unknown-sgx/lib/"
7576
Original file line number Diff line number Diff line change 1+ FROM ubuntu:18.04
2+
3+ RUN apt-get update
4+ RUN apt-get install -y --no-install-recommends \
5+ g++ make file curl ca-certificates python git \
6+ cmake sudo gdb
7+
8+ # TODO(denzp): setup `ptx-linker` CI for auttomatic binary releases.
9+ RUN curl -sL https://github.com/denzp/rust-ptx-linker/releases/download/v0.9.0-alpha/rust-ptx-linker.linux64.tar.gz | \
10+ tar -xzvC /usr/bin
11+
12+ COPY scripts/sccache.sh /scripts/
13+ RUN sh /scripts/sccache.sh
14+
15+ ENV TARGETS=nvptx64-nvidia-cuda
16+
17+ ENV SCRIPT python2.7 /checkout/x.py test --target $TARGETS \
18+ src/test/run-make
You can’t perform that action at this time.
0 commit comments