Commit 5ed52a5f by Siva Committed by Tianqi Chen

[DOCKER] Golang CI recipe. (#1759)

parent 6292c781
...@@ -18,3 +18,7 @@ RUN bash /install/ubuntu_install_llvm.sh ...@@ -18,3 +18,7 @@ RUN bash /install/ubuntu_install_llvm.sh
# AutoTVM deps # AutoTVM deps
COPY install/ubuntu_install_redis.sh /install/ubuntu_install_redis.sh COPY install/ubuntu_install_redis.sh /install/ubuntu_install_redis.sh
RUN bash /install/ubuntu_install_redis.sh RUN bash /install/ubuntu_install_redis.sh
# Golang environment
COPY install/ubuntu_install_golang.sh /install/ubuntu_install_golang.sh
RUN bash /install/ubuntu_install_golang.sh
...@@ -85,3 +85,9 @@ Here are some common use examples to perform CI tasks. ...@@ -85,3 +85,9 @@ Here are some common use examples to perform CI tasks.
```bash ```bash
./docker/ci_build.sh ci_gpu make -C docs html ./docker/ci_build.sh ci_gpu make -C docs html
``` ```
- build golang test suite.
```bash
./docker/build.sh ci_cpu make -C golang tests
```
#install the necessary dependancies for golang build
apt-get update && apt-get install -y golang-go
apt-get update && apt-get install -y godoc
apt-get update && apt-get install -y golint
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment