Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
5ed52a5f
Commit
5ed52a5f
authored
Sep 23, 2018
by
Siva
Committed by
Tianqi Chen
Sep 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOCKER] Golang CI recipe. (#1759)
parent
6292c781
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
docker/Dockerfile.ci_cpu
+4
-0
docker/README.md
+6
-0
docker/install/ubuntu_install_golang.sh
+4
-0
No files found.
docker/Dockerfile.ci_cpu
View file @
5ed52a5f
...
...
@@ -18,3 +18,7 @@ RUN bash /install/ubuntu_install_llvm.sh
# AutoTVM deps
COPY install/ubuntu_install_redis.sh /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
docker/README.md
View file @
5ed52a5f
...
...
@@ -85,3 +85,9 @@ Here are some common use examples to perform CI tasks.
```
bash
./docker/ci_build.sh ci_gpu make -C docs html
```
- build golang test suite.
```
bash
./docker/build.sh ci_cpu make -C golang tests
```
docker/install/ubuntu_install_golang.sh
0 → 100644
View file @
5ed52a5f
#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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment