Commit defc3039 authored by Philippe Kalaf's avatar Philippe Kalaf

Merge branch 'ci-testing' into 'master'

Add CI support

See merge request !2
parents d146bbbb 36285957
Pipeline #28895322 (#9) passed with stages
in 1 minute and 27 seconds
image: registry.gitlab.com/burgerman/espresso-for-geeks/fedora
stages:
- setup
- build
build:
stage: build
artifacts:
name: "espresso-for-geeks-$CI_COMMIT_REF_NAME"
paths:
- BUILD/espresso-for-geeks.bin
script:
- make
build-docker:
stage: setup
image: docker:stable
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
services:
- docker:dind
when: manual
script:
- docker info
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
- docker build -t registry.gitlab.com/burgerman/espresso-for-geeks/fedora .
- docker push registry.gitlab.com/burgerman/espresso-for-geeks/fedora
FROM fedora:28
RUN echo fastestmirror=1 >> /etc/dnf/dnf.conf && \
dnf -y update && \
dnf -y install make arm-none-eabi-newlib arm-none-eabi-gcc-cs-c++ arm-none-eabi-gcc-cs && \
dnf clean all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment