Skip to content

Commit

Permalink
Revert "CI split between master (full) and PR (smoke) for ESP32 (#15605
Browse files Browse the repository at this point in the history
…)" (#15773)

This reverts commit 59139c4.
  • Loading branch information
woody-apple authored Mar 3, 2022
1 parent ba26a1d commit 66aef3e
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 97 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,21 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: Full builds - ESP32
name: Build example - ESP32

on:
push:
workflow_dispatch:
pull_request:

concurrency:
group: full-${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
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
esp32:
name: Run
timeout-minutes: 200
name: ESP32
timeout-minutes: 80

runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'
Expand Down Expand Up @@ -96,6 +97,44 @@ jobs:
timeout-minutes: 10
run: scripts/examples/esp_example.sh lock-app sdkconfig.defaults

- name: Uploading Size Reports
uses: actions/upload-artifact@v2
if: ${{ !env.ACT }}
with:
name: Size,ESP32-Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }}
path: /tmp/bloat_reports/

esp32_1:
name: ESP32_1
timeout-minutes: 70

runs-on: ubuntu-latest
if: github.actor != 'restyled-io[bot]'

container:
image: connectedhomeip/chip-build-esp32:0.5.56
volumes:
- "/tmp/bloat_reports:/tmp/bloat_reports"

steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true

- name: Bootstrap
timeout-minutes: 10
run: scripts/build/gn_bootstrap.sh

- name: Uploading bootstrap logs
uses: actions/upload-artifact@v2
if: ${{ always() }} && ${{ !env.ACT }}
with:
name: bootstrap-logs
path: |
.environment/gn_out/.ninja_log
.environment/pigweed-venv/*.log
- name: Build example Bridge App
timeout-minutes: 10
run: scripts/examples/esp_example.sh bridge-app
Expand Down Expand Up @@ -123,11 +162,3 @@ jobs:
- name: Build example OTA Provider App
run: scripts/examples/esp_example.sh ota-provider-app sdkconfig.defaults
timeout-minutes: 10

- name: Uploading Size Reports
uses: actions/upload-artifact@v2
if: ${{ !env.ACT }}
with:
name: Size,ESP32-Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }}
path: /tmp/bloat_reports/

84 changes: 0 additions & 84 deletions .github/workflows/smoketest-esp32.yaml

This file was deleted.

0 comments on commit 66aef3e

Please sign in to comment.