Update codeql-analysis.yml
This commit is contained in:
parent
e1c171e7bc
commit
f5114020b3
.github/workflows
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue