diff options
| author | hathach <[email protected]> | 2024-08-11 00:51:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-08-11 00:51:51 +0700 |
| commit | 2871bb0da6c928f6593f7eaa7cd4e1c4c287db43 (patch) | |
| tree | 782f8adb3821f7be9b785e589df89c30fe26650f /.github | |
| parent | c07928e1b3bb680cb55de3a55eae9ba3cb459694 (diff) | |
fix spi_set_format() -Wnull-dereference when compiling with -Os
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build_util.yml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/.github/workflows/build_util.yml b/.github/workflows/build_util.yml index b0a87d4df..e983f06d1 100644 --- a/.github/workflows/build_util.yml +++ b/.github/workflows/build_util.yml @@ -58,11 +58,10 @@ jobs: shell: bash - name: Build - if: inputs.toolchain != 'esp-idf' run: | - python tools/build.py -s ${{ inputs.build-system }} ${{ steps.setup-toolchain.outputs.build_option }} ${{ steps.set-one-per-family.outputs.build_option }} ${{ matrix.arg }} - - - name: Build using ESP-IDF docker - if: inputs.toolchain == 'esp-idf' - run: | - docker run --rm -v $PWD:/project -w /project espressif/idf:${{ inputs.toolchain_version }} python3 tools/build.py ${{ matrix.arg }} + if [ "${{ inputs.toolchain }}" == "esp-idf" ]; then + docker run --rm -v $PWD:/project -w /project espressif/idf:${{ inputs.toolchain_version }} python3 tools/build.py ${{ matrix.arg }} + else + python tools/build.py -s ${{ inputs.build-system }} ${{ steps.setup-toolchain.outputs.build_option }} ${{ steps.set-one-per-family.outputs.build_option }} ${{ matrix.arg }} + fi + shell: bash |
