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
- build
job1:
stage: hello
tags:
- hottis
- linux
- debian
script:
- echo "Hallo"
- echo "Welt"
- whoami
job2:
stage: hello
tags:
- hottis
- linux
- debian
script:
- echo "Hello"
- echo "World"
- whoami
job3:
stage: build
@ -20,18 +31,27 @@ job3:
- hottis
- linux
- debian
- msp430
only:
refs:
- master
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_STRATEGY: none
before_script:
- apt update
- apt install -y msp430-libc
- apt install -y binutils-msp430
- apt install -y gcc-msp430
- echo "Prepare ssh environment"
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- 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:
- git submodule init
- git submodule update
- whoami
- pwd
- make clean
- make all