mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-20 02:32:06 +02:00
update arduino-cli
This commit is contained in:
24
.github/workflows/main.yml
vendored
24
.github/workflows/main.yml
vendored
@ -37,13 +37,13 @@ jobs:
|
|||||||
echo -en "matrix=" >> $GITHUB_OUTPUT
|
echo -en "matrix=" >> $GITHUB_OUTPUT
|
||||||
echo -en "[" >> $GITHUB_OUTPUT
|
echo -en "[" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp8266_pico esp8266 0.35.0 esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=80,FlashMode=qio,eesz=4M2M,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Serial1,lvl=SSL,wipe=none,baud=115200 >> $GITHUB_OUTPUT
|
get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp8266_pico esp8266 0.35.3 esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=80,FlashMode=qio,eesz=4M2M,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Serial1,lvl=SSL,wipe=none,baud=115200 >> $GITHUB_OUTPUT
|
||||||
echo -en "," >> $GITHUB_OUTPUT
|
echo -en "," >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp8266_pico esp8266 0.35.0 esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=80,FlashMode=qio,eesz=4M2M,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 >> $GITHUB_OUTPUT
|
get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp8266_pico esp8266 0.35.3 esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=80,FlashMode=qio,eesz=4M2M,led=2,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 >> $GITHUB_OUTPUT
|
||||||
echo -en "," >> $GITHUB_OUTPUT
|
echo -en "," >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp32 esp32 0.35.0 esp32:esp32:esp32:FlashFreq=80 >> $GITHUB_OUTPUT
|
get_sketches_json_matrix arduino $GITHUB_WORKSPACE/examples/esp32 esp32 0.35.3 esp32:esp32:esp32:FlashFreq=80 >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
echo -en "]" >> $GITHUB_OUTPUT
|
echo -en "]" >> $GITHUB_OUTPUT
|
||||||
echo >> $GITHUB_OUTPUT
|
echo >> $GITHUB_OUTPUT
|
||||||
@ -55,7 +55,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
CLI_VERSION: [0.35.0]
|
CLI_VERSION: [0.35.3]
|
||||||
env:
|
env:
|
||||||
CLI_VERSION: ${{ matrix.CLI_VERSION }}
|
CLI_VERSION: ${{ matrix.CLI_VERSION }}
|
||||||
ARDUINO_DIRECTORIES_DATA: /home/runner/arduino_ide
|
ARDUINO_DIRECTORIES_DATA: /home/runner/arduino_ide
|
||||||
@ -63,10 +63,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Get Date
|
- name: Get hash
|
||||||
id: get-date
|
id: get-hash
|
||||||
run: |
|
run: |
|
||||||
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
|
echo "hash=$(/bin/date -u "+%Y%m%d")-$(md5sum ".github/workflows/main.yml" | cut -d ' ' -f 1)" >> $GITHUB_OUTPUT
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
@ -75,7 +75,7 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
/home/runner/arduino_ide
|
/home/runner/arduino_ide
|
||||||
/home/runner/Arduino
|
/home/runner/Arduino
|
||||||
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ matrix.CLI_VERSION }}-cli
|
key: ${{ runner.os }}-${{ steps.get-hash.outputs.hash }}-${{ matrix.CLI_VERSION }}-cli
|
||||||
|
|
||||||
- name: download IDE
|
- name: download IDE
|
||||||
if: steps.cache_all.outputs.cache-hit != 'true'
|
if: steps.cache_all.outputs.cache-hit != 'true'
|
||||||
@ -122,10 +122,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y libgtk2.0-0
|
sudo apt-get install -y libgtk2.0-0
|
||||||
|
|
||||||
- name: Get Date
|
- name: Get hash
|
||||||
id: get-date
|
id: get-hash
|
||||||
run: |
|
run: |
|
||||||
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
|
echo "hash=$(/bin/date -u "+%Y%m%d")-$(md5sum ".github/workflows/main.yml" | cut -d ' ' -f 1)" >> $GITHUB_OUTPUT
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
@ -134,7 +134,7 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
/home/runner/arduino_ide
|
/home/runner/arduino_ide
|
||||||
/home/runner/Arduino
|
/home/runner/Arduino
|
||||||
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ matrix.cliversion }}-cli
|
key: ${{ runner.os }}-${{ steps.get-hash.outputs.hash }}-${{ matrix.cliversion }}-cli
|
||||||
|
|
||||||
- name: install python serial
|
- name: install python serial
|
||||||
if: matrix.cpu == 'esp32'
|
if: matrix.cpu == 'esp32'
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
set -x
|
|
||||||
|
|
||||||
function build_sketches()
|
function build_sketches()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user