Sign inSign up

kylemanna/ci-embedded

By kylemanna

Updated over 9 years ago

Continuous Integration Build Environment for Embedded ARM Devices

Image
4

6.7K

kylemanna/ci-embedded repository overview

Continuous Integration Build Environment for Embedded ARM Devices

Includes the necessary tools to cross-compile code for ARM Cortex-M0/1/3/4 devices.

Anticipation is to use with gitlab-ci-multi-runner (and similar) continuous integration build environment.

GitLab Crash Course

Create a GitLab Runner Container

Run this on your build machine (i.e. your always on dev machine or cloud instance):

docker run -d --name gitlab-runner --restart always \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v /srv/gitlab-runner/config:/etc/gitlab-runner \
  gitlab/gitlab-runner:alpine
Register a Runner

Run this on the build machine to connect it to the GitLab CI server. If you're running GitLab CE, update the URL as appropriate.

docker exec -it gitlab-runner gitlab-runner register \
  --non-interactive \
  --url "https://ci.gitlab.com/" \
  --description "embedded" \
  --executor "docker" \
  --docker-image kylemanna/ci-embedded:latest \
  --registration-token $REGISTRATION_TOKEN

This will create a runner on GitLab with the specified docker image.

Reference

Tag summary

Content type

Image

Digest

sha256:36fd1de90

Size

396.4 MB

Last updated

over 9 years ago

docker pull kylemanna/ci-embedded