Skip to content

Commit 8a37438

Browse files
author
Jamie Smith
authored
Try a different way
1 parent e15f91e commit 8a37438

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/greentea_cmake.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
build:
12+
include:
1313
## For this matrix, we choose one target from each MCU target family that Mbed supports.
1414
## The target families can be seen here:
1515
## https://mbed-ce.github.io/mbed-ce-test-tools/targets/index.html
@@ -142,16 +142,16 @@ jobs:
142142
apt-get update
143143
apt-get install -y python3-venv
144144
145-
- name: Build ${{ matrix.build.target }} with baremetal profile
146-
if: ${{ maxtrix.build.baremetal == 1 }}
145+
- name: Build ${{ matrix.target }} with baremetal profile
146+
if: ${{ maxtrix.baremetal == 1 }}
147147
run: |
148148
rm -rf __build
149-
cmake -S . -B __build -GNinja -DCMAKE_CTEST_ARGUMENTS="--output-on-failure;-V" -DMBED_BUILD_GREENTEA_TESTS=ON -DMBED_GREENTEA_TEST_BAREMETAL=ON -DMBED_GREENTEA_SERIAL_PORT=/dev/ttyDUMMY -DMBED_TARGET=${{ matrix.build.target }} -DMBED_APP_JSON_PATH=TESTS/configs/baremetal.json
149+
cmake -S . -B __build -GNinja -DCMAKE_CTEST_ARGUMENTS="--output-on-failure;-V" -DMBED_BUILD_GREENTEA_TESTS=ON -DMBED_GREENTEA_TEST_BAREMETAL=ON -DMBED_GREENTEA_SERIAL_PORT=/dev/ttyDUMMY -DMBED_TARGET=${{ matrix.target }} -DMBED_APP_JSON_PATH=TESTS/configs/baremetal.json
150150
cmake --build __build
151151
152-
- name: Build ${{ matrix.build.target }} with full profile
153-
if: ${{ maxtrix.build.baremetal == 0 }}
152+
- name: Build ${{ matrix.target }} with full profile
153+
if: ${{ maxtrix.baremetal == 0 }}
154154
run: |
155155
rm -rf __build
156-
cmake -S . -B __build -GNinja -DCMAKE_CTEST_ARGUMENTS="--output-on-failure;-V" -DMBED_BUILD_GREENTEA_TESTS=ON -DMBED_GREENTEA_SERIAL_PORT=/dev/ttyDUMMY -DMBED_TARGET=${{ matrix.build.target }}
156+
cmake -S . -B __build -GNinja -DCMAKE_CTEST_ARGUMENTS="--output-on-failure;-V" -DMBED_BUILD_GREENTEA_TESTS=ON -DMBED_GREENTEA_SERIAL_PORT=/dev/ttyDUMMY -DMBED_TARGET=${{ matrix.target }}
157157
cmake --build __build

0 commit comments

Comments
 (0)