@@ -10,90 +10,90 @@ jobs:
1010 with :
1111 python-version : " 3.x"
1212 - name : check SPDX licensing
13- run : python3 SPDX.py
13+ run : python3 ./ SPDX.py
1414
15- arduino :
16- strategy :
17- fail-fast : false
18- matrix :
19- arduino-platform : ["cpb", "cpc", "cpx_ada", "esp32", "esp8266", "feather32u4", "feather_m0_express", "feather_m4_express", "feather_rp2040", "flora", "funhouse", "gemma", "gemma_m0", "hallowing_m0", "hallowing_m4_tinyusb", "magtag", "metro_m0", "metro_m0_tinyusb", "metro_m4", "metro_m4_tinyusb", "monster_m4sk", "monster_m4sk_tinyusb", "neokeytrinkey_m0", "neotrellis_m4", "nrf52832", "nrf52840", "protrinket_5v", "proxlighttrinkey_m0", "pybadge", "pygamer", "pyportal", "qt2040_trinkey", "qtpy_m0", "qtpy_esp32s2", "rotarytrinkey_m0", "slidetrinkey_m0", "trinket_m0", "uno", "trinket_5v", "ledglasses_nrf52840" ]
20- runs-on : ubuntu-latest
21-
22- steps :
23- - uses : actions/setup-python@v2
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-
32- - name : pre-install
33- run : bash ci/actions_install.sh
34-
35- # manually install some libraries
36- - name : extra libraries
37- run : |
38- git clone --quiet https://github.com/adafruit/Cryptosuite.git /home/runner/Arduino/libraries/Cryptosuite
39- git clone --quiet https://github.com/adafruit/WiFiNINA.git /home/runner/Arduino/libraries/WiFiNINA
40- git clone --quiet https://github.com/adafruit/Adafruit_LSM303.git /home/runner/Arduino/libraries/Adafruit_LSM303
41- git clone --quiet https://github.com/moderndevice/CapSense.git /home/runner/Arduino/libraries/CapSense
42- git clone --quiet https://github.com/PaintYourDragon/ffft.git /home/runner/Arduino/libraries/ffft
43- git clone --quiet https://github.com/adafruit/RadioHead.git /home/runner/Arduino/libraries/RadioHead
44- git clone --quiet https://github.com/me-no-dev/ESPAsyncTCP /home/runner/Arduino/libraries/ESPAsyncTCP
45- git clone --quiet https://github.com/adafruit/Talkie /home/runner/Arduino/libraries/Talkie
46- git clone --quiet https://github.com/Infineon/arduino-optiga-trust-m /home/runner/Arduino/libraries/arduinoOptigaTrustM
47- git clone --quiet https://github.com/adafruit/HID /home/runner/Arduino/libraries/HID_Project
48-
49- - name : test platforms
50- run : python3 ci/build_platform.py ${{ matrix.arduino-platform }}
51-
52-
53- - name : Upload build artifacts
54- uses : actions/upload-artifact@v2
55- with :
56- name : ${{ github.event.repository.name }}.${{ github.sha }}
57- path : |
58- build/*.hex
59- build/*.bin
60- build/*.uf2
61-
62- - name : Zip release files
63- if : startsWith(github.ref, 'refs/tags/')
64- run : |
65- if [ -d build ]; then
66- (
67- echo "Built from Adafruit Learning System Guides `git describe --tags` for ${{ matrix.arduino-platform }}"
68- echo "Source code: https://github.com/adafruit/"
69- echo "Adafruit Learning System: https://learn.adafruit.com/"
70- ) > build/README.txt
71- cd build && zip -9 -o ${{ matrix.arduino-platform }}.zip *.hex *.bin *.uf2 *.txt
72- fi
73-
74- - name : Create release
75- if : startsWith(github.ref, 'refs/tags/')
76- uses : softprops/action-gh-release@v1
77- with :
78- files : build/${{ matrix.arduino-platform }}.zip
79- fail_on_unmatched_files : false
80- body : " Select the zip file corresponding to your board from the list below."
81-
82- pylint :
83- runs-on : ubuntu-latest
84- steps :
85- - name : Set up Python 3.x
86- uses : actions/setup-python@v1
87- with :
88- python-version : " 3.x"
89- - name : Versions
90- run : |
91- python3 --version
92- - name : Pip install pylint
93- run : |
94- pip install --force-reinstall pylint==2.7.1
95- - name : Checkout Current Repo
96- uses : actions/checkout@v2
97-
98- - name : lint
99- run : ./pylint_check.sh
15+ # arduino:
16+ # strategy:
17+ # fail-fast: false
18+ # matrix:
19+ # arduino-platform: ["cpb", "cpc", "cpx_ada", "esp32", "esp8266", "feather32u4", "feather_m0_express", "feather_m4_express", "feather_rp2040", "flora", "funhouse", "gemma", "gemma_m0", "hallowing_m0", "hallowing_m4_tinyusb", "magtag", "metro_m0", "metro_m0_tinyusb", "metro_m4", "metro_m4_tinyusb", "monster_m4sk", "monster_m4sk_tinyusb", "neokeytrinkey_m0", "neotrellis_m4", "nrf52832", "nrf52840", "protrinket_5v", "proxlighttrinkey_m0", "pybadge", "pygamer", "pyportal", "qt2040_trinkey", "qtpy_m0", "qtpy_esp32s2", "rotarytrinkey_m0", "slidetrinkey_m0", "trinket_m0", "uno", "trinket_5v", "ledglasses_nrf52840" ]
20+ # runs-on: ubuntu-latest
21+ #
22+ # steps:
23+ # - uses: actions/setup-python@v2
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+ #
32+ # - name: pre-install
33+ # run: bash ci/actions_install.sh
34+ #
35+ # # manually install some libraries
36+ # - name: extra libraries
37+ # run: |
38+ # git clone --quiet https://github.com/adafruit/Cryptosuite.git /home/runner/Arduino/libraries/Cryptosuite
39+ # git clone --quiet https://github.com/adafruit/WiFiNINA.git /home/runner/Arduino/libraries/WiFiNINA
40+ # git clone --quiet https://github.com/adafruit/Adafruit_LSM303.git /home/runner/Arduino/libraries/Adafruit_LSM303
41+ # git clone --quiet https://github.com/moderndevice/CapSense.git /home/runner/Arduino/libraries/CapSense
42+ # git clone --quiet https://github.com/PaintYourDragon/ffft.git /home/runner/Arduino/libraries/ffft
43+ # git clone --quiet https://github.com/adafruit/RadioHead.git /home/runner/Arduino/libraries/RadioHead
44+ # git clone --quiet https://github.com/me-no-dev/ESPAsyncTCP /home/runner/Arduino/libraries/ESPAsyncTCP
45+ # git clone --quiet https://github.com/adafruit/Talkie /home/runner/Arduino/libraries/Talkie
46+ # git clone --quiet https://github.com/Infineon/arduino-optiga-trust-m /home/runner/Arduino/libraries/arduinoOptigaTrustM
47+ # git clone --quiet https://github.com/adafruit/HID /home/runner/Arduino/libraries/HID_Project
48+ #
49+ # - name: test platforms
50+ # run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}
51+ #
52+ #
53+ # - name: Upload build artifacts
54+ # uses: actions/upload-artifact@v2
55+ # with:
56+ # name: ${{ github.event.repository.name }}.${{ github.sha }}
57+ # path: |
58+ # build/*.hex
59+ # build/*.bin
60+ # build/*.uf2
61+ #
62+ # - name: Zip release files
63+ # if: startsWith(github.ref, 'refs/tags/')
64+ # run: |
65+ # if [ -d build ]; then
66+ # (
67+ # echo "Built from Adafruit Learning System Guides `git describe --tags` for ${{ matrix.arduino-platform }}"
68+ # echo "Source code: https://github.com/adafruit/"
69+ # echo "Adafruit Learning System: https://learn.adafruit.com/"
70+ # ) > build/README.txt
71+ # cd build && zip -9 -o ${{ matrix.arduino-platform }}.zip *.hex *.bin *.uf2 *.txt
72+ # fi
73+ #
74+ # - name: Create release
75+ # if: startsWith(github.ref, 'refs/tags/')
76+ # uses: softprops/action-gh-release@v1
77+ # with:
78+ # files: build/${{ matrix.arduino-platform }}.zip
79+ # fail_on_unmatched_files: false
80+ # body: "Select the zip file corresponding to your board from the list below."
81+ #
82+ # pylint:
83+ # runs-on: ubuntu-latest
84+ # steps:
85+ # - name: Set up Python 3.x
86+ # uses: actions/setup-python@v1
87+ # with:
88+ # python-version: "3.x"
89+ # - name: Versions
90+ # run: |
91+ # python3 --version
92+ # - name: Pip install pylint
93+ # run: |
94+ # pip install --force-reinstall pylint==2.7.1
95+ # - name: Checkout Current Repo
96+ # uses: actions/checkout@v2
97+ #
98+ # - name: lint
99+ # run: ./pylint_check.sh
0 commit comments