{"action":"created","issue":{"url":"https://api.github.com/repos/doe300/VC4C/issues/8","repository_url":"https://api.github.com/repos/doe300/VC4C","labels_url":"https://api.github.com/repos/doe300/VC4C/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/doe300/VC4C/issues/8/comments","events_url":"https://api.github.com/repos/doe300/VC4C/issues/8/events","html_url":"https://github.com/doe300/VC4C/pull/8","id":277899377,"number":8,"title":"Enable CI service (circleci)","user":{"login":"nomaddo","id":4788179,"avatar_url":"https://avatars0.githubusercontent.com/u/4788179?v=4","gravatar_id":"","url":"https://api.github.com/users/nomaddo","html_url":"https://github.com/nomaddo","followers_url":"https://api.github.com/users/nomaddo/followers","following_url":"https://api.github.com/users/nomaddo/following{/other_user}","gists_url":"https://api.github.com/users/nomaddo/gists{/gist_id}","starred_url":"https://api.github.com/users/nomaddo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomaddo/subscriptions","organizations_url":"https://api.github.com/users/nomaddo/orgs","repos_url":"https://api.github.com/users/nomaddo/repos","events_url":"https://api.github.com/users/nomaddo/events{/privacy}","received_events_url":"https://api.github.com/users/nomaddo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-29T20:41:15Z","updated_at":"2017-11-29T20:59:38Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/doe300/VC4C/pulls/8","html_url":"https://github.com/doe300/VC4C/pull/8","diff_url":"https://github.com/doe300/VC4C/pull/8.diff","patch_url":"https://github.com/doe300/VC4C/pull/8.patch"},"body":"This pullreq add two features:\r\n\r\n- enable circleci (for auto-build hooked by `git push`)\r\n   I added `.circleci/config.yml`: configuration file for auto-build in circleci.\r\n- enable debian packaging (.deb) by `cpack`\r\n  I modified `CMakeLists.txt` to enable it. Now, after execution of `cmake`, `cpack -G DEB` create debian package for rasberrypi.\r\n\r\nCircleci enable us to build automatically by every `git push` to the project.\r\nThis provide a lot of benefit for us:\r\n\r\n- auto-build \r\n  You can check that our commits can be built without compiling locally.\r\n  And, this provide the result of the compilation (we call them artifacts).\r\n  Everyone can download these artifacts by circleci website.\r\n  (In my forked project, see https://circleci.com/gh/nomaddo/VC4C/7)\r\n- build under Docker image (in this case, https://hub.docker.com/r/nomaddo/cross-rpi/)\r\n  Docker is a standard container software (virtualize linux environment) to standardize develop environment.\r\n  Generally, we suffer from the difference of development environment.\r\n  By Docker, we can get the same development environment just by one command `docker pull`.\r\n  I think my docker image (see upper url to hub.docker) is standard as a cross-compilation environment.\r\n\r\nCircleci can be available for public repositories for free if we use it within 1800 min (enough for us!) in a month.\r\nIf you accept this pullreq, you need to a little bit work to enable circleci.\r\nif you feel messy, please add me to the project colaborator. I will do everything.\r\n\r\nI also make the same patch for `VC4CL`."},"comment":{"url":"https://api.github.com/repos/doe300/VC4C/issues/comments/347994429","html_url":"https://github.com/doe300/VC4C/pull/8#issuecomment-347994429","issue_url":"https://api.github.com/repos/doe300/VC4C/issues/8","id":347994429,"user":{"login":"nomaddo","id":4788179,"avatar_url":"https://avatars0.githubusercontent.com/u/4788179?v=4","gravatar_id":"","url":"https://api.github.com/users/nomaddo","html_url":"https://github.com/nomaddo","followers_url":"https://api.github.com/users/nomaddo/followers","following_url":"https://api.github.com/users/nomaddo/following{/other_user}","gists_url":"https://api.github.com/users/nomaddo/gists{/gist_id}","starred_url":"https://api.github.com/users/nomaddo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomaddo/subscriptions","organizations_url":"https://api.github.com/users/nomaddo/orgs","repos_url":"https://api.github.com/users/nomaddo/repos","events_url":"https://api.github.com/users/nomaddo/events{/privacy}","received_events_url":"https://api.github.com/users/nomaddo/received_events","type":"User","site_admin":false},"created_at":"2017-11-29T20:59:38Z","updated_at":"2017-11-29T20:59:38Z","author_association":"NONE","body":"I think this kind of development environment is very important to keep development.\r\nArtifacts, built by circleci, can be \"master\" files.\r\nWe test the same file, and find the same issue.\r\nIf we compile individually, the difference of development environment (os version, package version, mistaken build step, etc...) make us confused.\r\n\r\nAnd, circleci config can be used for local build.\r\nhttps://circleci.com/docs/2.0/local-jobs/\r\n\r\nNow we can use the same development environment for cross-compilation, and new contributors can easily set up the environment."}}
{"actor":{"display_login":"nomaddo"}}