Procházet zdrojové kódy

remove: 移除非cat1的CI构建配置项

Wendal Chen před 1 rokem
rodič
revize
3ef92e3d53

+ 0 - 73
.github/workflows/8850.yml

@@ -1,73 +0,0 @@
-name: 8850
-
-on:
-  # push:
-  #   paths:
-  #     - '.github/workflows/8850.yml'
-  #     - 'lua/**'
-  #     - 'luat/**'
-  #     - 'components/**'
-  workflow_dispatch:
-  repository_dispatch:
-    types:
-      - webhook-8850-action
-
-jobs:
-  build:
-    runs-on: ubuntu-20.04
-    steps:
-    - uses: actions/checkout@v1
-    - name: prepare software
-      run: |
-        wget -q https://github.com/openLuat/LuatOS/releases/download/v0.0.1/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 -O gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
-        tar jxvf gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
-    - name: clone 8850
-      env:
-        REPO: ${{ secrets.REPO8850 }}
-      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-soc $REPO 8850'
-    - name: make
-      run: |
-        cd ..
-        chmod 777 -R 8850/
-        cd 8850
-        sed -i 's/`pwd`\/prebuilts\/linux\/gcc-arm-none-eabi\/bin/\/home\/runner\/work\/LuatOS\/LuatOS\/gcc-arm-none-eabi-10.3-2021.10\/bin/g' build.sh
-        cp CMakeLists样本.txt CMakeLists.txt
-        sed -i 's/E:\/\/LuatOS/\/home\/runner\/work\/LuatOS\/LuatOS\//g' CMakeLists.txt
-        chmod +x build.sh
-        chmod +x prebuilts/linux/bin/*
-        chmod +x tools/linux/*
-        mkdir ../LuatOS/luatosfw
-        mkdir out
-        mkdir out/8850BM_LuatOS_debug
-        bash build_8850BM.sh
-        cp hex/8850BM_LuatOS_debug/*.soc ../LuatOS/luatosfw
-        rm -rf hex/
-        rm -rf out/
-        mkdir out
-        mkdir out/8850DG_LuatOS_debug
-        bash build_8850DG.sh
-        cp hex/8850DG_LuatOS_debug/*.soc ../LuatOS/luatosfw
-    - name: Upload artifact
-      uses: actions/upload-artifact@v1
-      with:
-        name: soc8850
-        path: luatosfw
-    - name: report if failure
-      if: always()
-      env:
-        STATUS: ${{ job.status }}
-        MQTTADDR: ${{ secrets.MQTTADDR }}
-        MQTTPORT: ${{ secrets.MQTTPORT }}
-        MQTTTOPIC: ${{ secrets.MQTTTOPIC }}
-        DD_APPKEY: ${{ secrets.DD_APPKEY }}
-        DD_APPSECRET: ${{ secrets.DD_APPSECRET }}
-        DD_NOTIFY_LIST: ${{ secrets.DD_NOTIFY_LIST }}
-        DD_API_TOKEN: ${{ secrets.DD_API_TOKEN }}
-        DD_API_SEND: ${{ secrets.DD_API_SEND }}
-      run: |
-        sudo pip3 install paho_mqtt gitpython requests
-        cd tools
-        if [ "$STATUS" = "failure" ];then python3 ciNotify.py $MQTTADDR $MQTTPORT $MQTTTOPIC "https://github.com/openLuat/LuatOS/actions/runs/$GITHUB_RUN_ID" "8850" "$DD_APPKEY" "$DD_APPSECRET" "$DD_NOTIFY_LIST" "$DD_API_TOKEN" "$DD_API_SEND"; fi

+ 0 - 71
.github/workflows/air101.yml

@@ -1,71 +0,0 @@
-name: air101
-
-on:
-  push:
-    paths:
-      - '.github/workflows/air101.yml'
-      - 'lua/**'
-      - 'luat/**'
-      - 'components/**'
-      - 'bsp/air101/**'
-  workflow_dispatch:
-  repository_dispatch:
-    types:
-      - webhook-101-action
-
-jobs:
-  build:
-    runs-on: ubuntu-22.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 p7zip-full -y
-        sudo apt-get install libncurses5-dev -y
-        sudo add-apt-repository ppa:xmake-io/xmake -y
-        sudo apt-get update -y
-        sudo apt-get install xmake -y
-    - name: clone 101
-      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=master https://github.com/openLuat/luatos-soc-air101 air101'
-        cd air101
-        git config --global credential.helper store
-        git config --global user.email 'bot@luatos.com'
-        git config --global user.name 'robot'
-        git remote set-url origin https://gitee.com/openLuat/luatos-soc-air101
-        retry 'git pull origin'
-    - name: make
-      run: |
-        cd ../air101
-        gcc -o tools/xt804/wm_tool tools/xt804/wm_tool.c -pthread
-        chmod +x tools/xt804/wm_tool
-        mkdir /home/runner/toolchains
-        wget -q https://github.com/openLuat/LuatOS/releases/download/v0.0.1/csky-elfabiv2-tools-x86_64-minilibc-20230301.tar.gz -O /home/runner/toolchains/csky-elfabiv2-tools-x86_64-minilibc-20230301.tar.gz
-        xmake g --pkg_searchdirs=/home/runner/toolchains
-        xmake -y
-        mkdir ../LuatOS/luatosfw
-        mv build/out/*.soc ../LuatOS/luatosfw
-    - name: Upload artifact
-      uses: actions/upload-artifact@v1
-      with:
-        name: air101
-        path: luatosfw
-    - name: report if failure
-      if: always()
-      env:
-        STATUS: ${{ job.status }}
-        MQTTADDR: ${{ secrets.MQTTADDR }}
-        MQTTPORT: ${{ secrets.MQTTPORT }}
-        MQTTTOPIC: ${{ secrets.MQTTTOPIC }}
-        DD_APPKEY: ${{ secrets.DD_APPKEY }}
-        DD_APPSECRET: ${{ secrets.DD_APPSECRET }}
-        DD_NOTIFY_LIST: ${{ secrets.DD_NOTIFY_LIST }}
-        DD_API_TOKEN: ${{ secrets.DD_API_TOKEN }}
-        DD_API_SEND: ${{ secrets.DD_API_SEND }}
-      run: |
-        sudo pip3 install paho_mqtt gitpython requests
-        cd tools
-        if [ "$STATUS" = "failure" ];then python3 ciNotify.py $MQTTADDR $MQTTPORT $MQTTTOPIC "https://github.com/openLuat/LuatOS/actions/runs/$GITHUB_RUN_ID" "air101" "$DD_APPKEY" "$DD_APPSECRET" "$DD_NOTIFY_LIST" "$DD_API_TOKEN" "$DD_API_SEND"; fi

+ 0 - 29
.github/workflows/air101ci_notify.yml

@@ -1,29 +0,0 @@
-name: air101ci_notify
-
-on:
-  workflow_dispatch:
-  repository_dispatch:
-    types:
-      - webhook_air101ci_notify
-
-jobs:
-  build:
-    runs-on: ubuntu-20.04
-    steps:
-    - uses: actions/checkout@v1
-    - name: report if failure
-      if: always()
-      env:
-        STATUS: ${{ job.status }}
-        MQTTADDR: ${{ secrets.MQTTADDR }}
-        MQTTPORT: ${{ secrets.MQTTPORT }}
-        MQTTTOPIC: ${{ secrets.MQTTTOPIC }}
-        DD_APPKEY: ${{ secrets.DD_APPKEY }}
-        DD_APPSECRET: ${{ secrets.DD_APPSECRET }}
-        DD_NOTIFY_LIST: ${{ secrets.DD_NOTIFY_LIST }}
-        DD_API_TOKEN: ${{ secrets.DD_API_TOKEN }}
-        DD_API_SEND: ${{ secrets.DD_API_SEND }}
-      run: |
-        sudo pip3 install paho_mqtt gitpython requests
-        cd tools
-        python3 ciNotify.py $MQTTADDR $MQTTPORT $MQTTTOPIC "http://luat.papapoi.com:23380/openLuat/LuatOS" "实物测试" "$DD_APPKEY" "$DD_APPSECRET" "$DD_NOTIFY_LIST" "$DD_API_TOKEN" "$DD_API_SEND"

+ 0 - 69
.github/workflows/air105.yml

@@ -1,69 +0,0 @@
-name: air105
-
-on:
-  push:
-    paths:
-      - '.github/workflows/air105.yml'
-      - 'lua/**'
-      - 'luat/**'
-      - 'components/**'
-      - 'bsp/air105/**'
-  workflow_dispatch:
-  repository_dispatch:
-    types:
-      - webhook-105-action
-
-jobs:
-  build:
-    runs-on: ubuntu-22.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 p7zip-full -y
-        sudo apt-get install libncurses5-dev -y
-        sudo add-apt-repository ppa:xmake-io/xmake -y
-        sudo apt-get update
-        sudo apt-get install xmake -y
-    - name: clone 105
-      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=master https://github.com/openLuat/luatos-soc-air105 air105'
-        cd air105
-        git config --global credential.helper store
-        git config --global user.email 'bot@luatos.com'
-        git config --global user.name 'robot'
-        git remote set-url origin https://gitee.com/openLuat/luatos-soc-air105
-        retry 'git pull origin'
-    - name: make
-      run: |
-        cd ../air105
-        mkdir /home/runner/toolchains
-        wget -q https://github.com/openLuat/LuatOS/releases/download/v0.0.1/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 -O /home/runner/toolchains/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
-        xmake g --pkg_searchdirs=/home/runner/toolchains
-        xmake -y
-        mkdir ../LuatOS/luatosfw
-        mv build/out/*.soc ../LuatOS/luatosfw
-    - name: Upload artifact
-      uses: actions/upload-artifact@v1
-      with:
-        name: air105
-        path: luatosfw
-    - name: report if failure
-      if: always()
-      env:
-        STATUS: ${{ job.status }}
-        MQTTADDR: ${{ secrets.MQTTADDR }}
-        MQTTPORT: ${{ secrets.MQTTPORT }}
-        MQTTTOPIC: ${{ secrets.MQTTTOPIC }}
-        DD_APPKEY: ${{ secrets.DD_APPKEY }}
-        DD_APPSECRET: ${{ secrets.DD_APPSECRET }}
-        DD_NOTIFY_LIST: ${{ secrets.DD_NOTIFY_LIST }}
-        DD_API_TOKEN: ${{ secrets.DD_API_TOKEN }}
-        DD_API_SEND: ${{ secrets.DD_API_SEND }}
-      run: |
-        sudo pip3 install paho_mqtt gitpython requests
-        cd tools
-        if [ "$STATUS" = "failure" ];then python3 ciNotify.py $MQTTADDR $MQTTPORT $MQTTTOPIC "https://github.com/openLuat/LuatOS/actions/runs/$GITHUB_RUN_ID" "air105" "$DD_APPKEY" "$DD_APPSECRET" "$DD_NOTIFY_LIST" "$DD_API_TOKEN" "$DD_API_SEND"; fi

+ 0 - 69
.github/workflows/air640w.yml

@@ -1,69 +0,0 @@
-name: air640w
-
-on:
-  # push:
-  #   paths:
-  #     - '.github/workflows/air640w.yml'
-  #     - 'lua/**'
-  #     - 'luat/**'
-  #     - 'components/**'
-  #     - 'bsp/air640w/**'
-  workflow_dispatch:
-
-jobs:
-  build:
-    runs-on: ubuntu-20.04
-    steps:
-    - uses: actions/checkout@v1
-    - name: prepare software
-      run: |
-        cd ..
-        sudo apt-get update
-        sudo apt-get install git gcc-multilib libc6 libgcc1 libstdc++5 libstdc++6 libsdl-dev scons p7zip-full -y
-        sudo apt-get install libncurses5-dev -y
-        sudo pip install requests
-        wget -q https://github.com/openLuat/LuatOS/releases/download/v0.0.1/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2
-        sudo tar xjf gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 -C /opt
-        /opt/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc --version
-    - name: clone rtt
-      run: |
-        git clone https://github.com/RT-Thread/rt-thread.git ~/work/action/rt-thread
-        cd ~/work/action/rt-thread
-    - name: prepare packages
-      run: |
-        cd bsp/air640w/rtt
-        export RTT_EXEC_PATH=/opt/gcc-arm-none-eabi-6-2017-q2-update/bin
-        export RTT_ROOT=~/work/action/rt-thread
-        echo | scons --menuconfig
-        source ~/.env/env.sh
-        wget https://github.com/openLuat/LuatOS/releases/download/v0.0.1/packages-640w.7z
-        7z x packages-640w.7z
-        chmod 755 -R packages/wm_libraries-latest/Tools/
-    - name: make
-      run: |
-        cd bsp/air640w/rtt
-        export RTT_EXEC_PATH=/opt/gcc-arm-none-eabi-6-2017-q2-update/bin
-        export RTT_ROOT=~/work/action/rt-thread
-        source ~/.env/env.sh
-        scons -j2
-    - name: Upload artifact
-      uses: actions/upload-artifact@v1
-      with:
-        name: air640w
-        path: bsp/air640w/rtt/Bin
-    - name: report if failure
-      if: always()
-      env:
-        STATUS: ${{ job.status }}
-        MQTTADDR: ${{ secrets.MQTTADDR }}
-        MQTTPORT: ${{ secrets.MQTTPORT }}
-        MQTTTOPIC: ${{ secrets.MQTTTOPIC }}
-        DD_APPKEY: ${{ secrets.DD_APPKEY }}
-        DD_APPSECRET: ${{ secrets.DD_APPSECRET }}
-        DD_NOTIFY_LIST: ${{ secrets.DD_NOTIFY_LIST }}
-        DD_API_TOKEN: ${{ secrets.DD_API_TOKEN }}
-        DD_API_SEND: ${{ secrets.DD_API_SEND }}
-      run: |
-        sudo pip3 install paho_mqtt gitpython requests
-        cd tools
-        if [ "$STATUS" = "failure" ];then python3 ciNotify.py $MQTTADDR $MQTTPORT $MQTTTOPIC "https://github.com/openLuat/LuatOS/actions/runs/$GITHUB_RUN_ID" "$DD_APPKEY" "$DD_APPSECRET" "$DD_NOTIFY_LIST" "$DD_API_TOKEN" "$DD_API_SEND"; fi

+ 0 - 73
.github/workflows/esp32-idf5.yml

@@ -1,73 +0,0 @@
-name: esp32-idf5
-
-on:
-  push:
-    paths:
-      - '.github/workflows/esp32-idf5.yml'
-      - 'lua/**'
-      - 'luat/**'
-      - 'components/**'
-  workflow_dispatch:
-  repository_dispatch:
-    types:
-      - webhook-esp32c3-idf5-action
-
-jobs:
-  build:
-    runs-on: ubuntu-20.04
-    strategy:
-      matrix:
-        ESP_CHIP: [esp32,esp32c2,esp32c3,esp32s3]
-      fail-fast: false
-    steps:
-    - uses: actions/checkout@v1
-    - name: prepare software
-      env:
-        ESP_CHIP: ${{ matrix.ESP_CHIP }}
-      run: |
-        sudo apt-get update
-        sudo apt-get install git gcc-multilib libc6 libgcc1 libstdc++5 libstdc++6 libsdl-dev p7zip-full python3 python3-pip libncurses5-dev -y
-        mkdir -p ~/esp
-        cd ~/esp
-        git clone --branch=release/v5.1 --recursive https://github.com/espressif/esp-idf.git
-        cd ~/esp/esp-idf
-        git submodule update --init --recursive
-        ./install.sh $ESP_CHIP
-    - name: clone LuatOS-ESP32
-      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=master https://gitee.com/openLuat/luatos-soc-idf5'
-    - name: build
-      env:
-        ESP_CHIP: ${{ matrix.ESP_CHIP }}
-      run: |
-        mkdir luatosfw
-        cd ../luatos-soc-idf5/luatos
-        sed -i 's/D:\/\/github\/LuatOS\//\/home\/runner\/work\/LuatOS\/LuatOS/g' CMakeLists.txt
-        . ~/esp/esp-idf/export.sh
-        idf.py set-target $ESP_CHIP
-        idf.py build
-        mv *.soc ../../LuatOS/luatosfw
-    - name: Upload artifact
-      uses: actions/upload-artifact@v2
-      with:
-        name: ${{ matrix.ESP_CHIP }}-soc
-        path: luatosfw/
-    - name: report if failure
-      if: always()
-      env:
-        STATUS: ${{ job.status }}
-        MQTTADDR: ${{ secrets.MQTTADDR }}
-        MQTTPORT: ${{ secrets.MQTTPORT }}
-        MQTTTOPIC: ${{ secrets.MQTTTOPIC }}
-        DD_APPKEY: ${{ secrets.DD_APPKEY }}
-        DD_APPSECRET: ${{ secrets.DD_APPSECRET }}
-        DD_NOTIFY_LIST: ${{ secrets.DD_NOTIFY_LIST }}
-        DD_API_TOKEN: ${{ secrets.DD_API_TOKEN }}
-        DD_API_SEND: ${{ secrets.DD_API_SEND }}
-        ESP_CHIP: ${{ matrix.ESP_CHIP }}
-      run: |
-        sudo pip3 install paho_mqtt gitpython requests
-        cd tools
-        if [ "$STATUS" = "failure" ];then python3 ciNotify.py $MQTTADDR $MQTTPORT $MQTTTOPIC "https://github.com/openLuat/LuatOS/actions/runs/$GITHUB_RUN_ID" "IDF5-$ESP_CHIP" "$DD_APPKEY" "$DD_APPSECRET" "$DD_NOTIFY_LIST" "$DD_API_TOKEN" "$DD_API_SEND"; fi

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

@@ -1,57 +0,0 @@
-name: wasm
-
-on:
-  push:
-    paths:
-      - '.github/workflows/wasm.yml'
-      # - 'lua/**'
-      # - 'luat/**'
-      # - 'components/**'
-      - 'bsp/sysp/**'
-  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
-    - name: make
-      run: |
-        cd ..
-        git clone https://github.com/emscripten-core/emsdk.git
-        cd emsdk
-        ./emsdk install latest
-        ./emsdk activate latest
-        source ./emsdk_env.sh
-        cd ../LuatOS/bsp/sysp/build
-        emcmake cmake ..
-        emmake make -j16
-        mkdir ../../../luatosfw
-        mv *.html ../../../luatosfw
-        mv luatos.* ../../../luatosfw
-    - name: Upload artifact
-      uses: actions/upload-artifact@v1
-      with:
-        name: wasm
-        path: luatosfw
-    - name: report if failure
-      if: always()
-      env:
-        STATUS: ${{ job.status }}
-        MQTTADDR: ${{ secrets.MQTTADDR }}
-        MQTTPORT: ${{ secrets.MQTTPORT }}
-        MQTTTOPIC: ${{ secrets.MQTTTOPIC }}
-        DD_APPKEY: ${{ secrets.DD_APPKEY }}
-        DD_APPSECRET: ${{ secrets.DD_APPSECRET }}
-        DD_NOTIFY_LIST: ${{ secrets.DD_NOTIFY_LIST }}
-        DD_API_TOKEN: ${{ secrets.DD_API_TOKEN }}
-        DD_API_SEND: ${{ secrets.DD_API_SEND }}
-      run: |
-        sudo pip3 install paho_mqtt gitpython requests
-        cd tools
-        if [ "$STATUS" = "failure" ];then python3 ciNotify.py $MQTTADDR $MQTTPORT $MQTTTOPIC "https://github.com/openLuat/LuatOS/actions/runs/$GITHUB_RUN_ID" "wasm" "$DD_APPKEY" "$DD_APPSECRET" "$DD_NOTIFY_LIST" "$DD_API_TOKEN" "$DD_API_SEND"; fi