remove: 移除asn1_string_is_ia5_string函数,编译有警告,又用不上,直接注释了 #1969
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linux | |
on: | |
push: | |
paths: | |
- '.github/workflows/linux.yml' | |
- 'lua/**' | |
- 'luat/**' | |
- 'components/**' | |
- 'bsp/linux/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: prepare software | |
run: | | |
sudo apt-get update | |
sudo apt install git gcc-multilib libc6 libgcc1 libstdc++5 libstdc++6 p7zip-full binutils llvm libsdl2-dev -y | |
sudo apt install libncurses5-dev cmake -y | |
sudo add-apt-repository ppa:xmake-io/xmake -y | |
sudo apt update | |
sudo apt install xmake | |
- name: make | |
run: | | |
cd bsp/linux | |
xmake -y | |
mkdir ../../luatosfw | |
mv build/out/luatos ../../luatosfw/ | |
- name: Upload artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: linux | |
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" "linux" "$DD_APPKEY" "$DD_APPSECRET" "$DD_NOTIFY_LIST" "$DD_API_TOKEN" "$DD_API_SEND"; fi |