Enable CI for nvptx64-nvidia-cuda
This commit is contained in:
parent
d3903d5f9c
commit
97c8e82fe0
@ -186,6 +186,8 @@ matrix:
|
|||||||
if: branch = auto
|
if: branch = auto
|
||||||
- env: IMAGE=mingw-check
|
- env: IMAGE=mingw-check
|
||||||
if: type = pull_request OR branch = auto
|
if: type = pull_request OR branch = auto
|
||||||
|
- env: IMAGE=nvptx-cuda
|
||||||
|
if: branch = auto
|
||||||
|
|
||||||
- stage: publish toolstate
|
- stage: publish toolstate
|
||||||
if: branch = master AND type = push
|
if: branch = master AND type = push
|
||||||
|
@ -70,6 +70,7 @@ ENV TARGETS=$TARGETS,x86_64-sun-solaris
|
|||||||
ENV TARGETS=$TARGETS,x86_64-unknown-linux-gnux32
|
ENV TARGETS=$TARGETS,x86_64-unknown-linux-gnux32
|
||||||
ENV TARGETS=$TARGETS,x86_64-unknown-cloudabi
|
ENV TARGETS=$TARGETS,x86_64-unknown-cloudabi
|
||||||
ENV TARGETS=$TARGETS,x86_64-fortanix-unknown-sgx
|
ENV TARGETS=$TARGETS,x86_64-fortanix-unknown-sgx
|
||||||
|
ENV TARGETS=$TARGETS,nvptx64-nvidia-cuda
|
||||||
|
|
||||||
ENV X86_FORTANIX_SGX_LIBS="/x86_64-fortanix-unknown-sgx/lib/"
|
ENV X86_FORTANIX_SGX_LIBS="/x86_64-fortanix-unknown-sgx/lib/"
|
||||||
|
|
||||||
|
18
src/ci/docker/nvptx-cuda/Dockerfile
Normal file
18
src/ci/docker/nvptx-cuda/Dockerfile
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
g++ make file curl ca-certificates python git \
|
||||||
|
cmake sudo gdb
|
||||||
|
|
||||||
|
# TODO(denzp): setup `ptx-linker` CI for auttomatic binary releases.
|
||||||
|
RUN curl -sL https://github.com/denzp/rust-ptx-linker/releases/download/v0.9.0-alpha/rust-ptx-linker.linux64.tar.gz | \
|
||||||
|
tar -xzvC /usr/bin
|
||||||
|
|
||||||
|
COPY scripts/sccache.sh /scripts/
|
||||||
|
RUN sh /scripts/sccache.sh
|
||||||
|
|
||||||
|
ENV TARGETS=nvptx64-nvidia-cuda
|
||||||
|
|
||||||
|
ENV SCRIPT python2.7 /checkout/x.py test --target $TARGETS \
|
||||||
|
src/test/run-make
|
Loading…
Reference in New Issue
Block a user