Skip to content

Commit

Permalink
fix(common): Fixed scripts for build test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
espressif-abhikroy committed Jan 15, 2024
1 parent 1393764 commit 4b13338
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/console_cmd_wifi__build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ jobs:
run: |
${IDF_PATH}/install.sh --enable-pytest
. ${IDF_PATH}/export.sh
python $IDF_PATH/tools/ci/ci_build_apps.py . --target ${{ matrix.idf_target }} -vv --preserve-all --pytest-app
pwd
python ../../../ci/build_apps.py . --target ${{ matrix.idf_target }} -vv --preserve-all --pytest-app
8 changes: 8 additions & 0 deletions ci/build_apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
)
parser.add_argument('paths', nargs='+', help='Paths to the apps to build.')
parser.add_argument(
'-v',
'--verbose',
action='count',
help='Increase the LOGGER level of the script. Can be specified multiple times.',
)
parser.add_argument(
'-t',
'--target',
Expand All @@ -28,6 +34,8 @@
parser.add_argument('-d', '--delete', action='store_true', help='Delete build artifacts')
parser.add_argument('-c', '--recursive', action='store_true', help='Build recursively')
parser.add_argument('-l', '--linux', action='store_true', help='Include linux build (dont check warnings)')
parser.add_argument('--preserve-all', action='store_true', help='Preserve the binaries for all apps when specified.')
parser.add_argument('--pytest-apps', action='store_true', help='Only build apps required by pytest scripts.')
args = parser.parse_args()

IDF_PATH = os.environ['IDF_PATH']
Expand Down

0 comments on commit 4b13338

Please sign in to comment.