Skip to content

Commit

Permalink
move to linux and darwin workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mykrupp committed Feb 18, 2022
1 parent f5c6a23 commit d058917
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 11 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,17 @@ jobs:
timeout-minutes: 5
run: |
scripts/examples/gn_build_example.sh examples/ota-requestor-app/linux out/debug chip_config_network_layer_ble=false
- name: Build and run OTA example
timeout-minutes: 20
run: |
scripts/tests/ota_test.sh
- name: Uploading OTA logs
if: always()
uses: actions/upload-artifact@v2
with:
name: OTA,Linux-Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }}
path: |
/tmp/ota/
- name: Delete Defaults
run: defaults delete com.apple.dt.xctest.tool
continue-on-error: true
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/examples-linux-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,17 @@ jobs:
linux debug ota-requestor-app \
out/ota_requestor_debug/chip-ota-requestor-app \
/tmp/bloat_reports/
- name: Build and run OTA example
timeout-minutes: 20
run: |
scripts/tests/ota_test.sh
- name: Uploading OTA logs
if: always()
uses: actions/upload-artifact@v2
with:
name: OTA,Linux-Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }}
path: |
/tmp/ota/
- name: Build example Standalone Door Lock App
timeout-minutes: 5
run: |
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,17 +195,6 @@ jobs:
run \
--iterations 1 \
--all-clusters-app ./out/darwin-x64-all-clusters-${BUILD_VARIANT}/chip-all-clusters-app \
- name: Build and run OTA example
timeout-minutes: 20
run: |
scripts/examples/ota_test.sh
- name: Uploading OTA logs
if: always()
uses: actions/upload-artifact@v2
with:
name: OTA,Linux-Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }}
path: |
/tmp/ota/ "
- name: Uploading core files
uses: actions/upload-artifact@v2
if: ${{ failure() }} && ${{ !env.ACT }}
Expand Down

0 comments on commit d058917

Please sign in to comment.