Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine the no-detail-logging and no-progress-logging builds with the gcc_debug build #8463

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

strategy:
matrix:
type: [gcc_debug, gcc_release, clang, mbedtls, no_detail_logging, no_progress_logging]
type: [gcc_debug, gcc_release, clang, mbedtls]
env:
BUILD_TYPE: ${{ matrix.type }}

Expand Down Expand Up @@ -82,8 +82,6 @@ jobs:
"gcc_release") GN_ARGS='is_debug=false';;
"clang") GN_ARGS='is_clang=true';;
"mbedtls") GN_ARGS='chip_crypto="mbedtls"';;
"no_detail_logging") GN_ARGS='chip_progress_logging=false';;
"no_progress_logging") GN_ARGS='chip_progress_logging=false chip_detail_logging=false';;
*) echo >&2 "Unrecognized build type: ${BUILD_TYPE}"; exit 1;;
esac
Expand Down Expand Up @@ -111,6 +109,20 @@ jobs:
- name: Perform CodeQL Analysis
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' && (matrix.type == 'gcc_release' || matrix.type == 'clang' || matrix.type == 'mbedtls') }}
uses: github/codeql-action/analyze@v1
- name: Setup Build Without Detail Logging
if: ${{ matrix.type == 'gcc_debug' }}
run: scripts/build/gn_gen.sh --args="chip_detail_logging=false"
- name: Run Build Without Detail Logging
if: ${{ matrix.type == 'gcc_debug' }}
timeout-minutes: 10
run: scripts/build/gn_build.sh
- name: Setup Build Without Progress Logging
if: ${{ matrix.type == 'gcc_debug' }}
run: scripts/build/gn_gen.sh --args="chip_detail_logging=false chip_progress_logging=false"
- name: Run Build Without Progress Logging
if: ${{ matrix.type == 'gcc_debug' }}
timeout-minutes: 10
run: scripts/build/gn_build.sh
build_darwin:
name: Build on Darwin
timeout-minutes: 60
Expand Down