Merge branch 'master' of gitlab.com:wolutator/blinky1

This commit is contained in:
2019-02-12 20:40:50 +01:00

View File

@ -2,17 +2,28 @@ stages:
- hello - hello
- build - build
job1: job1:
stage: hello stage: hello
tags:
- hottis
- linux
- debian
script: script:
- echo "Hallo" - echo "Hallo"
- echo "Welt" - echo "Welt"
- whoami
job2: job2:
stage: hello stage: hello
tags:
- hottis
- linux
- debian
script: script:
- echo "Hello" - echo "Hello"
- echo "World" - echo "World"
- whoami
job3: job3:
stage: build stage: build
@ -20,18 +31,27 @@ job3:
- hottis - hottis
- linux - linux
- debian - debian
- msp430
only: only:
refs: refs:
- master - master
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: none
before_script: before_script:
- apt update - echo "Prepare ssh environment"
- apt install -y msp430-libc - eval $(ssh-agent -s)
- apt install -y binutils-msp430 - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- apt install -y gcc-msp430 - mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan gitlab.com >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- ssh git@gitlab.com
- echo "Preparing ssh environment done"
script: script:
- git submodule init
- git submodule update
- whoami
- pwd
- make clean - make clean
- make all - make all