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.
- gen with
v3.9 and v4.0
- bootstrap with
v4.0
- v3.8 with
-race test
- v3.9 with
-msan test (-msan warninng will failed CI, use || true)
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.
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-msantesting.Here the travis results and sample repository.
v3.9andv4.0v4.0-racetest-msantest (-msanwarninng will failed CI, use|| true)It can test on clean Linux environment (now use
ubuntu/xenial. sorry, nottrusty) with themake docker-testormake ci.Can CI testing with the no limit, related apt package whitelist.
Needs to maintain them is the only
goclang/baseimage. The each version automatically setup by$LLVM_VERSIONenv usingONBUILD.It might be a good idea with use the
hub.docker.comweb hook.Each repo has
Dockerfile.basebecause I can not upload docker image to thehub.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.