Masque Halloween illuminé
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
691 B

3 years ago
  1. inocode:
  2. image: "java:8"
  3. variables:
  4. BOARD: "arduino:avr:nano:cpu=atmega328"
  5. before_script:
  6. - apt update
  7. - apt -y install xvfb
  8. - Xvfb :1 -nolisten tcp -screen :1 1280x800x24 &
  9. - export DISPLAY=":1"
  10. - cd /
  11. - wget --quiet "https://downloads.arduino.cc/arduino-1.8.3-linux64.tar.xz"
  12. - tar axf "arduino-1.8.3-linux64.tar.xz"
  13. - /arduino-1.8.3/arduino --pref "compiler.warning_level=all" --save-prefs
  14. - /arduino-1.8.3/arduino --board "${BOARD}" --save-prefs
  15. script:
  16. - /arduino-1.8.3/arduino --install-library "FastLED"
  17. - cd "${CI_PROJECT_DIR}/src/"
  18. - /arduino-1.8.3/arduino --verify "${CI_PROJECT_NAME}.ino"