Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
vicfergar committed Dec 18, 2021
1 parent d6aac1f commit 2141122
Show file tree
Hide file tree
Showing 22 changed files with 66 additions and 53 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
name: Android

on:
push:
pull_request:
workflow_dispatch:
#push:
#pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bloat_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ jobs:
--github-limit-artifact-pages 50 \
--github-limit-artifacts 500 \
--github-limit-comments 20 \
--github-repository project-chip/connectedhomeip \
--github-repository vicfergar/connectedhomeip \
--github-api-token "${{ secrets.GITHUB_TOKEN }}"
16 changes: 8 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
name: Builds

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -72,8 +72,8 @@ jobs:
- name: Run Tests
timeout-minutes: 2
run: scripts/tests/gn_tests.sh
# TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227
# TODO https://github.com/project-chip/connectedhomeip/issues/1512
# TODO Log Upload https://github.com/vicfergar/connectedhomeip/issues/2227
# TODO https://github.com/vicfergar/connectedhomeip/issues/1512
# - name: Run Code Coverage
# if: ${{ contains('main', env.BUILD_TYPE) }}
# run: scripts/tools/codecoverage.sh
Expand Down Expand Up @@ -179,8 +179,8 @@ jobs:
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --no-log-timestamps --target linux-fake-tests build"
# TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227
# TODO https://github.com/project-chip/connectedhomeip/issues/1512
# TODO Log Upload https://github.com/vicfergar/connectedhomeip/issues/2227
# TODO https://github.com/vicfergar/connectedhomeip/issues/1512
# - name: Run Code Coverage
# if: ${{ contains('main', env.BUILD_TYPE) }}
# run: scripts/tools/codecoverage.sh
Expand Down Expand Up @@ -303,8 +303,8 @@ jobs:
with:
name: crash-log-darwin
path: ~/Library/Logs/DiagnosticReports/
# TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227
# TODO https://github.com/project-chip/connectedhomeip/issues/1512
# TODO Log Upload https://github.com/vicfergar/connectedhomeip/issues/2227
# TODO https://github.com/vicfergar/connectedhomeip/issues/1512
# - name: Run Code Coverage
# if: ${{ contains('main', env.BUILD_TYPE) }}
# run: scripts/tools/codecoverage.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cirque.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
name: Cirque

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
name: Darwin

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
# for OTHER_CFLAGS exist by using ${inherited}.
#
# Disable -Wdocumentation because so much of our doxygen is so
# broken. See https://github.com/project-chip/connectedhomeip/issues/6734
# broken. See https://github.com/vicfergar/connectedhomeip/issues/6734
#
# Disable -Wconditional-uninitialized because the generated IM TLV
# code hits this all over the place.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/doxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
name: Doxygen

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -48,11 +48,11 @@ jobs:
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
id: extract_branch
- name: Deploy if master
if: steps.extract_branch.outputs.branch == 'master' && github.repository == 'project-chip/connectedhomeip'
if: steps.extract_branch.outputs.branch == 'master' && github.repository == 'vicfergar/connectedhomeip'
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.DOXYGEN_DEPLOY_KEY }}
external_repository: project-chip/connectedhomeip-doc
external_repository: vicfergar/connectedhomeip-doc
publish_dir: ./docs/html
# Keep only the latest version of the documentation
force_orphan: true
5 changes: 3 additions & 2 deletions .github/workflows/examples-ameba.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
name: Build example - Ameba

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

jobs:
ameba:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-efr32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
name: Build example - EFR32

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/examples-esp32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@
name: Build example - ESP32

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
cancel-in-progress: true

jobs:
# TODO ESP32 https://github.com/project-chip/connectedhomeip/issues/1510
# TODO ESP32 https://github.com/vicfergar/connectedhomeip/issues/1510
esp32:
name: ESP32
timeout-minutes: 85
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/examples-infineon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
name: Build example - Infineon P6

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-k32w.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
name: Build example - K32W with SE051

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-linux-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
name: Build example - Linux ARM

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-linux-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
name: Build example - Linux Standalone

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/examples-mbed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
name: Build example - Mbed OS

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-nrfconnect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
name: Build example - nRF Connect SDK

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-qpg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
name: Build example - QPG

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-telink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
name: Build example - Telink

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/examples-tizen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
name: Build example - Tizen

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

jobs:
tizen:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/qemu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
name: QEMU

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Upload artifact
run: |
scripts/helpers/upload_release_asset.py \
--github-repository project-chip/connectedhomeip \
--github-repository vicfergar/connectedhomeip \
--github-api-token "${{ secrets.GITHUB_TOKEN }}" \
--release-tag "${{ github.event.inputs.releaseTag }}" \
--bundle-files $BUILD_DIRECTORY/chip-all-clusters-app.flashbundle.txt \
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Upload artifact
run: |
scripts/helpers/upload_release_asset.py \
--github-repository project-chip/connectedhomeip \
--github-repository vicfergar/connectedhomeip \
--github-api-token "${{ secrets.GITHUB_TOKEN }}" \
--release-tag "${{ github.event.inputs.releaseTag }}" \
--bundle-files $BUILD_DIRECTORY/lock_app.flashbundle.txt \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit_integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ jobs:
- name: Run Tests
timeout-minutes: 15
run: scripts/tests/gn_tests.sh
# TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227
# TODO https://github.com/project-chip/connectedhomeip/issues/1512
# TODO Log Upload https://github.com/vicfergar/connectedhomeip/issues/2227
# TODO https://github.com/vicfergar/connectedhomeip/issues/1512
# - name: Run Code Coverage
# if: ${{ contains('main', env.BUILD_TYPE) }}
# run: scripts/tools/codecoverage.sh
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/zap_templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
name: ZAP

on:
push:
pull_request:
#push:
#pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
Expand Down

0 comments on commit 2141122

Please sign in to comment.