~ -> root
This commit is contained in:
parent
3885c5c002
commit
639bab399d
@ -10,7 +10,7 @@ inocode:
|
||||
- apt update
|
||||
- apt -y install xvfb
|
||||
- Xvfb :1 -nolisten tcp -screen :1 1280x800x24 &
|
||||
- xvfb="$!"
|
||||
# - xvfb="$!"
|
||||
- export DISPLAY=":1"
|
||||
- cd /
|
||||
- wget --quiet "https://downloads.arduino.cc/arduino-1.8.2-linux64.tar.xz"
|
||||
@ -23,13 +23,13 @@ inocode:
|
||||
script:
|
||||
- /arduino-1.8.2/arduino --install-library "FastLED"
|
||||
- /arduino-1.8.2/arduino --install-library "PubSubClient"
|
||||
- cd "~/Arduino/libraries/"
|
||||
- cd "/root/Arduino/libraries/"
|
||||
- git clone "${GITREMDEB}"
|
||||
- cd "${CI_PROJECT_DIR}/arduino/${CI_PROJECT_NAME}"
|
||||
- cp "${CI_PROJECT_NAME}.example.h" "${CI_PROJECT_NAME}.h"
|
||||
- /arduino-1.8.2/arduino --verify "${CI_PROJECT_NAME}.ino"
|
||||
after_script:
|
||||
- kill -9 "${xvfb}"
|
||||
# after_script:
|
||||
# - kill -9 "${xvfb}"
|
||||
|
||||
|
||||
yaml:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user