Procházet zdrojové kódy

update: 先关掉esp32的ci

chenxuuu před 4 roky
rodič
revize
84eb7a4f2a
2 změnil soubory, kde provedl 1 přidání a 57 odebrání
  1. 0 57
      .github/workflows/esp32.yml
  2. 1 0
      README.md

+ 0 - 57
.github/workflows/esp32.yml

@@ -1,57 +0,0 @@
-name: esp32
-
-on:
-  push:
-    paths:
-      - '.github/workflows/esp32.yml'
-      - 'lua/**'
-      - 'luat/**'
-      - 'components/**'
-  workflow_dispatch:
-
-jobs:
-  build:
-    runs-on: ubuntu-20.04
-    steps:
-    - uses: actions/checkout@v1
-    - name: prepare software
-      run: |
-        sudo apt-get update
-        sudo apt-get install git gcc-multilib libc6 libgcc1 libstdc++5 libstdc++6 libsdl-dev p7zip-full -y
-        sudo apt-get install libncurses5-dev -y
-        mkdir -p ~/esp
-        cd ~/esp
-        git clone --recursive https://github.com/espressif/esp-idf.git
-        cd ~/esp/esp-idf
-        ./install.sh esp32
-    - name: clone LuatOS-ESP32
-      env:
-        AIR105REPO: ${{ secrets.AIR105REPO }}
-      run: |
-        sudo sh -c "curl https://raw.githubusercontent.com/kadwanev/retry/master/retry -o /usr/local/bin/retry && chmod +x /usr/local/bin/retry"
-        cd ..
-        retry 'git clone --branch=luatos_repo https://gitee.com/dreamcmi/LuatOS-ESP32'
-    - name: build
-      run: |
-        mkdir luatosfw
-        cd ../LuatOS-ESP32
-        . ~/esp/esp-idf/export.sh
-        idf.py set-target esp32
-        idf.py build
-        mv build/*.bin ../LuatOS/luatosfw
-    - name: Upload artifact
-      uses: actions/upload-artifact@v1
-      with:
-        name: esp32
-        path: luatosfw
-    - name: report if failure
-      if: always()
-      env:
-        STATUS: ${{ job.status }}
-        MQTTADDR: ${{ secrets.MQTTADDR }}
-        MQTTPORT: ${{ secrets.MQTTPORT }}
-        MQTTTOPIC: ${{ secrets.MQTTTOPIC }}
-      run: |
-        sudo pip3 install paho_mqtt gitpython
-        cd tools
-        if [ "$STATUS" = "failure" ];then python3 ciNotify.py $MQTTADDR $MQTTPORT $MQTTTOPIC "esp32 https://github.com/openLuat/LuatOS/actions/runs/$GITHUB_RUN_ID"; fi

+ 1 - 0
README.md

@@ -6,6 +6,7 @@
 
 [![air101](https://github.com/openLuat/LuatOS/actions/workflows/air101.yml/badge.svg)](https://nightly.link/openLuat/LuatOS/workflows/air101/master)
 [![air105](https://github.com/openLuat/LuatOS/actions/workflows/air105.yml/badge.svg)](https://nightly.link/openLuat/LuatOS/workflows/air105/master)
+[![esp32c3](https://github.com/openLuat/LuatOS/actions/workflows/esp32c3.yml/badge.svg)](https://nightly.link/openLuat/LuatOS/workflows/esp32c3/master)
 [![air100st](https://github.com/openLuat/LuatOS/actions/workflows/air100st.yml/badge.svg)](https://nightly.link/openLuat/LuatOS/workflows/air100st/master)
 [![air640w](https://github.com/openLuat/LuatOS/actions/workflows/air640w.yml/badge.svg)](https://nightly.link/openLuat/LuatOS/workflows/air640w/master)
 [![win32](https://github.com/openLuat/LuatOS/actions/workflows/win32.yml/badge.svg)](https://nightly.link/openLuat/LuatOS/workflows/win32/master)