0
0
Fork 0

Update codeql-analysis.yml

This commit is contained in:
windowsair 2021-11-03 15:41:23 +08:00 committed by GitHub
parent e1c171e7bc
commit f5114020b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 13 deletions
.github/workflows

View File

@ -61,18 +61,19 @@ jobs:
# and modify them (or add more) to build your code if your project
# uses a compiled language
# - if: matrix.language == 'cpp' || matrix.language == 'c'
# name: Build
# run: |
# ls
# sudo apt update
# sudo apt install -y gcc git wget make libncurses-dev flex bison python python-setuptools python-serial ninja-build
# wget https://dl.espressif.com/dl/xtensa-lx106-elf-linux64-1.22.0-100-ge567ec7-5.2.0.tar.gz
# tar -xzf ./xtensa-lx106-elf-linux64-1.22.0-100-ge567ec7-5.2.0.tar.gz
# python -m pip install --user -r ./ESP8266_RTOS_SDK/requirements.txt
# export IDF_PATH=$PWD/ESP8266_RTOS_SDK
# export PATH="$PATH:$PWD/xtensa-lx106-elf/bin"
# python ./idf.py fullclean
# python ./idf.py build
- if: matrix.language == 'cpp' || matrix.language == 'c'
name: Build
run: |
ls
sudo apt update
sudo apt install -y gcc git wget make libncurses-dev flex bison python python-setuptools python-serial ninja-build
wget https://dl.espressif.com/dl/xtensa-lx106-elf-linux64-1.22.0-100-ge567ec7-5.2.0.tar.gz
tar -xzf ./xtensa-lx106-elf-linux64-1.22.0-100-ge567ec7-5.2.0.tar.gz
python -m pip install --user -r ./ESP8266_RTOS_SDK/requirements.txt
export IDF_PATH=$PWD/ESP8266_RTOS_SDK
export PATH="$PATH:$PWD/xtensa-lx106-elf/bin"
python ./idf.py fullclean
python ./idf.py build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1