diff --git a/.github/workflows/build-clang-doxy.yml b/.github/workflows/build-clang-doxy.yml index c6d20bad..084aca22 100644 --- a/.github/workflows/build-clang-doxy.yml +++ b/.github/workflows/build-clang-doxy.yml @@ -55,10 +55,30 @@ jobs: git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino git clone --depth 1 --branch wippersnapper https://github.com/brentru/lvgl.git /home/runner/Arduino/libraries/lvgl git clone --depth 1 --branch development https://github.com/brentru/Adafruit_LvGL_Glue.git /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library - - name: Download and install stable Nanopb + - name: Download stable Nanopb + continue-on-error: true run: | - # Download and extract nanopb wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz + - if: ${{ failure() }} + name: Restore cached nanopb + id: cache-nanopb-restore + uses: actions/cache/restore@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - if: ${{ success() }} + name: Save nanopb to cache + id: cache-nanopb-save + uses: actions/cache/save@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - name: Install stable Nanopb + run: | tar -xf nanopb-0.4.8.tar.gz # Copy files to WipperSnapper's src/nanopb directory cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb @@ -200,10 +220,30 @@ jobs: git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino git clone --depth 1 --branch wippersnapper https://github.com/brentru/lvgl.git /home/runner/Arduino/libraries/lvgl git clone --depth 1 --branch development https://github.com/brentru/Adafruit_LvGL_Glue.git /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library - - name: Download and install stable Nanopb + - name: Download stable Nanopb + continue-on-error: true run: | - # Download and extract nanopb wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz + - if: ${{ failure() }} + name: Restore cached nanopb + id: cache-nanopb-restore + uses: actions/cache/restore@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - if: ${{ success() }} + name: Save nanopb to cache + id: cache-nanopb-save + uses: actions/cache/save@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - name: Install stable Nanopb + run: | tar -xf nanopb-0.4.8.tar.gz # Copy files to WipperSnapper's src/nanopb directory cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb @@ -279,10 +319,30 @@ jobs: run: | git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library git clone --quiet https://github.com/pstolarz/OneWireNg.git /home/runner/Arduino/libraries/OneWireNg - - name: Download and install stable Nanopb + - name: Download stable Nanopb + continue-on-error: true run: | - # Download and extract nanopb wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz + - if: ${{ failure() }} + name: Restore cached nanopb + id: cache-nanopb-restore + uses: actions/cache/restore@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - if: ${{ success() }} + name: Save nanopb to cache + id: cache-nanopb-save + uses: actions/cache/save@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - name: Install stable Nanopb + run: | tar -xf nanopb-0.4.8.tar.gz # Copy files to WipperSnapper's src/nanopb directory cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb @@ -386,10 +446,30 @@ jobs: git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library git clone --quiet https://github.com/PaulStoffregen/OneWire.git /home/runner/Arduino/libraries/OneWire git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino - - name: Download and install stable Nanopb + - name: Download stable Nanopb + continue-on-error: true run: | - # Download and extract nanopb wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz + - if: ${{ failure() }} + name: Restore cached nanopb + id: cache-nanopb-restore + uses: actions/cache/restore@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - if: ${{ success() }} + name: Save nanopb to cache + id: cache-nanopb-save + uses: actions/cache/save@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - name: Install stable Nanopb + run: | tar -xf nanopb-0.4.8.tar.gz # Copy files to WipperSnapper's src/nanopb directory cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb @@ -438,10 +518,30 @@ jobs: git clone --quiet https://github.com/pstolarz/OneWireNg.git /home/runner/Arduino/libraries/OneWireNg git clone --quiet https://github.com/pstolarz/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino - - name: Download and install stable Nanopb + - name: Download stable Nanopb + continue-on-error: true run: | - # Download and extract nanopb wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz + - if: ${{ failure() }} + name: Restore cached nanopb + id: cache-nanopb-restore + uses: actions/cache/restore@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - if: ${{ success() }} + name: Save nanopb to cache + id: cache-nanopb-save + uses: actions/cache/save@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - name: Install stable Nanopb + run: | tar -xf nanopb-0.4.8.tar.gz # Copy files to WipperSnapper's src/nanopb directory cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb @@ -489,10 +589,30 @@ jobs: git clone --quiet https://github.com/arduino-libraries/Servo.git /home/runner/Arduino/libraries/Servo git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library git clone --quiet https://github.com/PaulStoffregen/OneWire.git /home/runner/Arduino/libraries/OneWire - - name: Download and install stable Nanopb + - name: Download stable Nanopb + continue-on-error: true run: | - # Download and extract nanopb wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz + - if: ${{ failure() }} + name: Restore cached nanopb + id: cache-nanopb-restore + uses: actions/cache/restore@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - if: ${{ success() }} + name: Save nanopb to cache + id: cache-nanopb-save + uses: actions/cache/save@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - name: Install stable Nanopb + run: | tar -xf nanopb-0.4.8.tar.gz # Copy files to WipperSnapper's src/nanopb directory cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb @@ -528,10 +648,30 @@ jobs: run: | git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library git clone --quiet https://github.com/PaulStoffregen/OneWire.git /home/runner/Arduino/libraries/OneWire - - name: Download and install stable Nanopb + - name: Download stable Nanopb + continue-on-error: true run: | - # Download and extract nanopb wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz + - if: ${{ failure() }} + name: Restore cached nanopb + id: cache-nanopb-restore + uses: actions/cache/restore@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - if: ${{ success() }} + name: Save nanopb to cache + id: cache-nanopb-save + uses: actions/cache/save@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - name: Install stable Nanopb + run: | tar -xf nanopb-0.4.8.tar.gz # Copy files to WipperSnapper's src/nanopb directory cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb @@ -603,10 +743,30 @@ jobs: git clone --quiet https://github.com/adafruit/Adafruit_TinyUSB_Arduino /home/runner/Arduino/libraries/Adafruit_TinyUSB_Arduino git clone --depth 1 --branch wippersnapper https://github.com/brentru/lvgl.git /home/runner/Arduino/libraries/lvgl git clone --depth 1 --branch development https://github.com/brentru/Adafruit_LvGL_Glue.git /home/runner/Arduino/libraries/Adafruit_LittlevGL_Glue_Library - - name: Download and install stable Nanopb + - name: Download stable Nanopb + continue-on-error: true run: | - # Download and extract nanopb wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz + - if: ${{ failure() }} + name: Restore cached nanopb + id: cache-nanopb-restore + uses: actions/cache/restore@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - if: ${{ success() }} + name: Save nanopb to cache + id: cache-nanopb-save + uses: actions/cache/save@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - name: Install stable Nanopb + run: | tar -xf nanopb-0.4.8.tar.gz # Copy files to WipperSnapper's src/nanopb directory cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb @@ -675,10 +835,30 @@ jobs: run: | git clone --quiet https://github.com/milesburton/Arduino-Temperature-Control-Library.git /home/runner/Arduino/libraries/Arduino-Temperature-Control-Library git clone --quiet https://github.com/pstolarz/OneWireNg.git /home/runner/Arduino/libraries/OneWireNg - - name: Download and install stable Nanopb + - name: Download stable Nanopb + continue-on-error: true run: | - # Download and extract nanopb wget https://jpa.kapsi.fi/nanopb/download/nanopb-0.4.8.tar.gz + - if: ${{ failure() }} + name: Restore cached nanopb + id: cache-nanopb-restore + uses: actions/cache/restore@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - if: ${{ success() }} + name: Save nanopb to cache + id: cache-nanopb-save + uses: actions/cache/save@v4 + env: + cache-name: cache-node-modules + with: + path: ./nanopb-0.4.8.tar.gz + key: nanopb-0.4.8.tar.gz + - name: Install stable Nanopb + run: | tar -xf nanopb-0.4.8.tar.gz # Copy files to WipperSnapper's src/nanopb directory cp nanopb/pb_common.* nanopb/pb_encode.* nanopb/pb_decode.* src/nanopb