examples-tizen.yaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # Copyright (c) 2021 Project CHIP Authors
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. name: Build example - Tizen
  15. on:
  16. push:
  17. pull_request:
  18. merge_group:
  19. concurrency:
  20. group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }}
  21. cancel-in-progress: true
  22. env:
  23. CHIP_NO_LOG_TIMESTAMPS: true
  24. jobs:
  25. tizen:
  26. name: Tizen
  27. runs-on: ubuntu-latest
  28. if: github.actor != 'restyled-io[bot]'
  29. container:
  30. image: ghcr.io/project-chip/chip-build-tizen:1
  31. options: --user root
  32. volumes:
  33. - "/tmp/bloat_reports:/tmp/bloat_reports"
  34. - "/tmp/output_binaries:/tmp/output_binaries"
  35. steps:
  36. - name: Checkout
  37. uses: actions/checkout@v4
  38. - name: Checkout submodules & Bootstrap
  39. uses: ./.github/actions/checkout-submodules-and-bootstrap
  40. with:
  41. platform: tizen
  42. - name: Build Tizen examples
  43. run: |
  44. ./scripts/run_in_build_env.sh \
  45. "./scripts/build/build_examples.py \
  46. --enable-flashbundle \
  47. --target tizen-arm-all-clusters \
  48. --target tizen-arm-chip-tool-ubsan \
  49. --target tizen-arm-light \
  50. build \
  51. --copy-artifacts-to out/artifacts \
  52. "