From 22836025974ddb770a5d1e6cc842df0d9d13a656 Mon Sep 17 00:00:00 2001 From: Faqiang Zhu <71302147+FaqiangZhu-nxp@users.noreply.github.com> Date: Mon, 2 May 2022 22:33:16 +0800 Subject: [PATCH] use the build_examples tool in CI for imx (#17732) the build_examples tool is used in CI for imx devices to verify this tool automatically during development. Signed-off-by: faqiang.zhu Change-Id: I1802cab7668512e9922c0536c05da0f60d2255cd --- .github/workflows/examples-linux-imx.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/examples-linux-imx.yaml b/.github/workflows/examples-linux-imx.yaml index cbadfd5e88898b..20b9a8841c4c67 100644 --- a/.github/workflows/examples-linux-imx.yaml +++ b/.github/workflows/examples-linux-imx.yaml @@ -55,3 +55,24 @@ jobs: run: | ./scripts/examples/imxlinux_example.sh \ examples/chip-tool examples/chip-tool/out/aarch64 + - name: Build thermostat + timeout-minutes: 30 + run: | + ./scripts/run_in_build_env.sh \ + "./scripts/build/build_examples.py \ + --target imx-thermostat build \ + " + - name: Build all-cluster + timeout-minutes: 30 + run: | + ./scripts/run_in_build_env.sh \ + "./scripts/build/build_examples.py \ + --target imx-all-clusters-app build \ + " + - name: Build ota-provider-app + timeout-minutes: 30 + run: | + ./scripts/run_in_build_env.sh \ + "./scripts/build/build_examples.py \ + --target imx-ota-provider-app build + "