Compare commits
6 commits
master
...
increase-t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f33b09ee58 | ||
|
|
92447cbfea | ||
|
|
beec4b65ff | ||
|
|
fa7c86dc81 | ||
|
|
9b963f433b | ||
|
|
4845cdfa8e |
2 changed files with 6 additions and 5 deletions
5
.github/workflows/githubci.yml
vendored
5
.github/workflows/githubci.yml
vendored
|
|
@ -6,7 +6,7 @@ jobs:
|
|||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-python@v1
|
||||
|
|
@ -16,5 +16,4 @@ jobs:
|
|||
run: bash ./actions_install.sh
|
||||
- name: test platforms
|
||||
run: |
|
||||
python3 build_platform.py uno leonardo mega2560 zero esp8266 esp32 pico_rp2040
|
||||
|
||||
python3 build_platform.py metroesp32s2
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ ALL_PLATFORMS={
|
|||
"esp32" : ["esp32:esp32:featheresp32:FlashFreq=80", None],
|
||||
"magtag" : ["esp32:esp32:adafruit_magtag29_esp32s2", "0xbfdd4eee"],
|
||||
"funhouse" : ["esp32:esp32:adafruit_funhouse_esp32s2", "0xbfdd4eee"],
|
||||
"metroesp32s2" : ["esp32:esp32:adafruit_metro_esp32s2", "0xbfdd4eee"],
|
||||
"metroesp32s2" : ["esp32:esp32:adafruit_metro_esp32s2:CDCOnBoot=cdc,MSCOnBoot=default,DFUOnBoot=default", "0xbfdd4eee"],
|
||||
# Adafruit AVR
|
||||
"trinket_3v" : ["adafruit:avr:trinket3", None],
|
||||
"trinket_5v" : ["adafruit:avr:trinket5", None],
|
||||
|
|
@ -168,6 +168,8 @@ def install_platform(platform):
|
|||
ColorPrint.print_fail("FAILED to install "+platform)
|
||||
exit(-1)
|
||||
ColorPrint.print_pass(CHECK)
|
||||
# print installed core version
|
||||
print( os.popen('arduino-cli core list | grep {}'.format(platform)).read(), end='' )
|
||||
|
||||
def run_or_die(cmd, error):
|
||||
print(cmd)
|
||||
|
|
@ -318,7 +320,7 @@ def test_examples_in_folder(folderpath):
|
|||
cmd = ['arduino-cli', 'compile', '--warnings', 'none', '--export-binaries', '--fqbn', fqbn, examplepath]
|
||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE)
|
||||
r = proc.wait(timeout=60)
|
||||
r = proc.wait(timeout=60*5)
|
||||
out = proc.stdout.read()
|
||||
err = proc.stderr.read()
|
||||
if r == 0 and not (err and BUILD_WALL == True):
|
||||
|
|
|
|||
Loading…
Reference in a new issue