ci.yml 879 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. name: Arduino Library CI
  2. on:
  3. push:
  4. paths-ignore:
  5. - '**/**.md'
  6. - '/keywords.txt'
  7. - '/library.json'
  8. - '/library.properties'
  9. - '/ui'
  10. - '/docs'
  11. pull_request:
  12. paths-ignore:
  13. - '**/**.md'
  14. - '/keywords.txt'
  15. - '/library.json'
  16. - '/library.properties'
  17. - '/ui'
  18. - '/docs'
  19. jobs:
  20. build:
  21. runs-on: ubuntu-latest
  22. steps:
  23. - uses: actions/setup-python@v1
  24. with:
  25. python-version: '3.x'
  26. - uses: actions/checkout@v2
  27. - uses: actions/checkout@v2
  28. with:
  29. repository: adafruit/ci-arduino
  30. path: ci
  31. - name: pre-install
  32. run: bash ci/actions_install.sh
  33. - name: install-deps
  34. run: bash .github/scripts/dep-install.sh
  35. - name: test platforms
  36. run: python3 ci/build_platform.py esp8266 esp32