Skip to content

Commit a8ff695

Browse files
committed
Uncommented everything
1 parent b8d332f commit a8ff695

File tree

1 file changed

+85
-85
lines changed

1 file changed

+85
-85
lines changed

.github/workflows/githubci.yml

Lines changed: 85 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -15,88 +15,88 @@ jobs:
1515
- name: check SPDX licensing
1616
run: python ./SPDX.py
1717

18-
# arduino:
19-
# strategy:
20-
# fail-fast: false
21-
# matrix:
22-
# 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" ]
23-
# runs-on: ubuntu-latest
24-
#
25-
# steps:
26-
# - uses: actions/setup-python@v2
27-
# with:
28-
# python-version: "3.x"
29-
# - uses: actions/checkout@v2
30-
# - uses: actions/checkout@v2
31-
# with:
32-
# repository: adafruit/ci-arduino
33-
# path: ci
34-
#
35-
# - name: pre-install
36-
# run: bash ci/actions_install.sh
37-
#
38-
# # manually install some libraries
39-
# - name: extra libraries
40-
# run: |
41-
# git clone --quiet https://github.com/adafruit/Cryptosuite.git /home/runner/Arduino/libraries/Cryptosuite
42-
# git clone --quiet https://github.com/adafruit/WiFiNINA.git /home/runner/Arduino/libraries/WiFiNINA
43-
# git clone --quiet https://github.com/adafruit/Adafruit_LSM303.git /home/runner/Arduino/libraries/Adafruit_LSM303
44-
# git clone --quiet https://github.com/moderndevice/CapSense.git /home/runner/Arduino/libraries/CapSense
45-
# git clone --quiet https://github.com/PaintYourDragon/ffft.git /home/runner/Arduino/libraries/ffft
46-
# git clone --quiet https://github.com/adafruit/RadioHead.git /home/runner/Arduino/libraries/RadioHead
47-
# git clone --quiet https://github.com/me-no-dev/ESPAsyncTCP /home/runner/Arduino/libraries/ESPAsyncTCP
48-
# git clone --quiet https://github.com/adafruit/Talkie /home/runner/Arduino/libraries/Talkie
49-
# git clone --quiet https://github.com/Infineon/arduino-optiga-trust-m /home/runner/Arduino/libraries/arduinoOptigaTrustM
50-
# git clone --quiet https://github.com/adafruit/HID /home/runner/Arduino/libraries/HID_Project
51-
#
52-
# - name: test platforms
53-
# run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}
54-
#
55-
#
56-
# - name: Upload build artifacts
57-
# uses: actions/upload-artifact@v2
58-
# with:
59-
# name: ${{ github.event.repository.name }}.${{ github.sha }}
60-
# path: |
61-
# build/*.hex
62-
# build/*.bin
63-
# build/*.uf2
64-
#
65-
# - name: Zip release files
66-
# if: startsWith(github.ref, 'refs/tags/')
67-
# run: |
68-
# if [ -d build ]; then
69-
# (
70-
# echo "Built from Adafruit Learning System Guides `git describe --tags` for ${{ matrix.arduino-platform }}"
71-
# echo "Source code: https://github.com/adafruit/"
72-
# echo "Adafruit Learning System: https://learn.adafruit.com/"
73-
# ) > build/README.txt
74-
# cd build && zip -9 -o ${{ matrix.arduino-platform }}.zip *.hex *.bin *.uf2 *.txt
75-
# fi
76-
#
77-
# - name: Create release
78-
# if: startsWith(github.ref, 'refs/tags/')
79-
# uses: softprops/action-gh-release@v1
80-
# with:
81-
# files: build/${{ matrix.arduino-platform }}.zip
82-
# fail_on_unmatched_files: false
83-
# body: "Select the zip file corresponding to your board from the list below."
84-
#
85-
# pylint:
86-
# runs-on: ubuntu-latest
87-
# steps:
88-
# - name: Set up Python 3.x
89-
# uses: actions/setup-python@v1
90-
# with:
91-
# python-version: "3.x"
92-
# - name: Versions
93-
# run: |
94-
# python3 --version
95-
# - name: Pip install pylint
96-
# run: |
97-
# pip install --force-reinstall pylint==2.7.1
98-
# - name: Checkout Current Repo
99-
# uses: actions/checkout@v2
100-
#
101-
# - name: lint
102-
# run: ./pylint_check.sh
18+
arduino:
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
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" ]
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- uses: actions/setup-python@v2
27+
with:
28+
python-version: "3.x"
29+
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v2
31+
with:
32+
repository: adafruit/ci-arduino
33+
path: ci
34+
35+
- name: pre-install
36+
run: bash ci/actions_install.sh
37+
38+
# manually install some libraries
39+
- name: extra libraries
40+
run: |
41+
git clone --quiet https://github.com/adafruit/Cryptosuite.git /home/runner/Arduino/libraries/Cryptosuite
42+
git clone --quiet https://github.com/adafruit/WiFiNINA.git /home/runner/Arduino/libraries/WiFiNINA
43+
git clone --quiet https://github.com/adafruit/Adafruit_LSM303.git /home/runner/Arduino/libraries/Adafruit_LSM303
44+
git clone --quiet https://github.com/moderndevice/CapSense.git /home/runner/Arduino/libraries/CapSense
45+
git clone --quiet https://github.com/PaintYourDragon/ffft.git /home/runner/Arduino/libraries/ffft
46+
git clone --quiet https://github.com/adafruit/RadioHead.git /home/runner/Arduino/libraries/RadioHead
47+
git clone --quiet https://github.com/me-no-dev/ESPAsyncTCP /home/runner/Arduino/libraries/ESPAsyncTCP
48+
git clone --quiet https://github.com/adafruit/Talkie /home/runner/Arduino/libraries/Talkie
49+
git clone --quiet https://github.com/Infineon/arduino-optiga-trust-m /home/runner/Arduino/libraries/arduinoOptigaTrustM
50+
git clone --quiet https://github.com/adafruit/HID /home/runner/Arduino/libraries/HID_Project
51+
52+
- name: test platforms
53+
run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}
54+
55+
56+
- name: Upload build artifacts
57+
uses: actions/upload-artifact@v2
58+
with:
59+
name: ${{ github.event.repository.name }}.${{ github.sha }}
60+
path: |
61+
build/*.hex
62+
build/*.bin
63+
build/*.uf2
64+
65+
- name: Zip release files
66+
if: startsWith(github.ref, 'refs/tags/')
67+
run: |
68+
if [ -d build ]; then
69+
(
70+
echo "Built from Adafruit Learning System Guides `git describe --tags` for ${{ matrix.arduino-platform }}"
71+
echo "Source code: https://github.com/adafruit/"
72+
echo "Adafruit Learning System: https://learn.adafruit.com/"
73+
) > build/README.txt
74+
cd build && zip -9 -o ${{ matrix.arduino-platform }}.zip *.hex *.bin *.uf2 *.txt
75+
fi
76+
77+
- name: Create release
78+
if: startsWith(github.ref, 'refs/tags/')
79+
uses: softprops/action-gh-release@v1
80+
with:
81+
files: build/${{ matrix.arduino-platform }}.zip
82+
fail_on_unmatched_files: false
83+
body: "Select the zip file corresponding to your board from the list below."
84+
85+
pylint:
86+
runs-on: ubuntu-latest
87+
steps:
88+
- name: Set up Python 3.x
89+
uses: actions/setup-python@v1
90+
with:
91+
python-version: "3.x"
92+
- name: Versions
93+
run: |
94+
python3 --version
95+
- name: Pip install pylint
96+
run: |
97+
pip install --force-reinstall pylint==2.7.1
98+
- name: Checkout Current Repo
99+
uses: actions/checkout@v2
100+
101+
- name: lint
102+
run: ./pylint_check.sh

0 commit comments

Comments
 (0)