From f5114020b3299fa108d46d6c49d57429de3e9ca3 Mon Sep 17 00:00:00 2001 From: windowsair Date: Wed, 3 Nov 2021 15:41:23 +0800 Subject: [PATCH] Update codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8079698..86cefd7 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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