Skip to content
Snippets Groups Projects
Commit abff1688 authored by Lauri Koivunen's avatar Lauri Koivunen :tools:
Browse files

Update .gitlab-ci.yml

parent 601b4690
No related branches found
No related tags found
No related merge requests found
Pipeline #34042 passed
image: debian
build:
# This file is a template, and might need editing before it works on your project.
docker-build-master:
# Official docker image.
image: docker:latest
stage: build
services:
- docker:dind
before_script:
- apt update
- apt install libsimavr-dev avrdude avra libelf-dev arduino-mk gcc-avr avr-libc
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- make
test:
stage: test
script:
- ./test.sh
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment