Skip to content

docker container based infrastructure #130

Open
@zchee

Description

@zchee

I created this issue from @zimmski reply.
#117 (comment)

I don't know go-clang dev's actual developing flow. That is write code on the local environment, and test using Vagrant? or all works on the local environment?
Anyway, v3.9 can not CI test... So I have slightly fixed the Dockerfile that was for my personal. based by sbinet's PR.
Very roughly.

It can build the LLVM version 3.8 ~ 4.0, also with the -msan testing.
Here the travis results and sample repository.

It can test on clean Linux environment (now use ubuntu/xenial. sorry, not trusty) with the make docker-test or make ci.
Can CI testing with the no limit, related apt package whitelist.
Needs to maintain them is the only goclang/base image. The each version automatically setup by $LLVM_VERSION env using ONBUILD.
It might be a good idea with use the hub.docker.com web hook.
Each repo has Dockerfile.base because I can not upload docker image to the hub.docker.com.

But maybe not corresponding to the switching version scripts. And little hacky and confusing (travis cache, use ONBUILD, etc)

This was my hobby of through today from yesterday ;) I want to always the same test results because I use macOS. That is little different the Linux.

If you don't like it, no problem. Please closing this issue. but if you interested it, I will rewrite along your request.
Thanks for great Clang interface.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions