Skip to content

Commit

Permalink
Updating
Browse files Browse the repository at this point in the history
  • Loading branch information
woody-apple authored and pull[bot] committed Oct 12, 2020
1 parent 5551e54 commit 2524173
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: "cpp"
languages: "cpp, python"
queries: +security-and-quality

- name: Bootstrap
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples-gn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: "cpp"
languages: "cpp, python"
queries: +security-and-quality
- name: Build example Echo App
run: scripts/examples/esp_echo_app.sh CHIP_BUILD_WITH_GN=y
Expand Down
29 changes: 14 additions & 15 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: "cpp"
languages: "cpp, python"
queries: +security-and-quality
- name: Bootstrap
run: scripts/build/gn_bootstrap.sh
Expand Down Expand Up @@ -75,10 +75,10 @@ jobs:
out/lock_app_debug/chip-nrf52840-lock-example
out/lighting_app_debug/chip-nrf52840-lighting-example
# TODO: NRF Connect https://github.com/project-chip/connectedhomeip/issues/2225
- name: Remove third_party binaries for CodeQL Analysis
run: find . -type d -name "third_party" -exec rm -rf {} +
- name: Remove nrfxlib binaries for CodeQL Analysis
run: find . -type d -name "nrfxlib" -exec rm -rf {} +
# - name: Remove third_party binaries for CodeQL Analysis
# run: find . -type d -name "third_party" -exec rm -rf {} +
# - name: Remove nrfxlib binaries for CodeQL Analysis
# run: find . -type d -name "nrfxlib" -exec rm -rf {} +
- name: Perform CodeQL Analysis
if: ${{ github.event_name == 'push' }}
uses: github/codeql-action/analyze@v1
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: "cpp"
languages: "cpp, python"
queries: +security-and-quality
- name: Bootstrap
run: scripts/build/gn_bootstrap.sh
Expand Down Expand Up @@ -137,10 +137,10 @@ jobs:
path: |
out/chip_tool_debug/chip-tool
out/shell_debug/chip-shell
- name: Remove third_party binaries for CodeQL Analysis
run: find . -type d -name "third_party" -exec rm -rf {} +
- name: Remove dbus binaries for CodeQL Analysis
run: find . -type d -name "dbus" -exec rm -rf {} +
# - name: Remove third_party binaries for CodeQL Analysis
# run: find . -type d -name "third_party" -exec rm -rf {} +
# - name: Remove dbus binaries for CodeQL Analysis
# run: find . -type d -name "dbus" -exec rm -rf {} +
- name: Perform CodeQL Analysis
if: ${{ github.event_name == 'push' }}
uses: github/codeql-action/analyze@v1
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: "cpp"
languages: "cpp, python"
queries: +security-and-quality
- name: Build example EFR32 Lock App for BRD4161A
run:
Expand All @@ -194,9 +194,8 @@ jobs:
path: |
out/lock_app_debug/BRD4161A/chip-efr32-lock-example.out
out/lighting_app_debug/BRD4161A/chip-efr32-lighting-example.out
- name: Remove third_party binaries for CodeQL Analysis
run: find . -type d -name "third_party" -exec rm -rf {} +
- name: Remove dbus binaries for CodeQL Analysis
# - name: Remove third_party binaries for CodeQL Analysis
# run: find . -type d -name "third_party" -exec rm -rf {} +
- name: Perform CodeQL Analysis
if: ${{ github.event_name == 'push' }}
uses: github/codeql-action/analyze@v1
Expand Down Expand Up @@ -224,7 +223,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: "cpp"
languages: "cpp, python"
queries: +security-and-quality
- name: Build example nRF Connect SDK Lock App
run: scripts/examples/nrfconnect_example.sh lock-app
Expand Down

0 comments on commit 2524173

Please sign in to comment.