Skip to content

Commit 45c96c7

Browse files
committed
github: workflows: Add cargo support to twister
Add cargo's bin to the path, and print out the versioning of the tool to make it easy to ensure the right version has been installed. Signed-off-by: David Brown <[email protected]>
1 parent 8c4b163 commit 45c96c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/twister.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ jobs:
188188
git log --pretty=oneline | head -n 10
189189
fi
190190
echo "$HOME/.local/bin" >> $GITHUB_PATH
191+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
191192
192193
west init -l . || true
193194
west config manifest.group-filter -- +ci,+optional
@@ -201,6 +202,8 @@ jobs:
201202
run: |
202203
cmake --version
203204
gcc --version
205+
cargo --version
206+
rustup target list --installed
204207
ls -la
205208
echo "github.ref: ${{ github.ref }}"
206209
echo "github.base_ref: ${{ github.base_ref }}"

0 commit comments

Comments
 (0)