From c3438903d25c8cc9b06c9663f84ab6e37ec00673 Mon Sep 17 00:00:00 2001 From: David Brown Date: Wed, 21 Aug 2024 15:34:54 -0600 Subject: [PATCH] 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 --- .github/workflows/twister.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/twister.yaml b/.github/workflows/twister.yaml index a4bc219f36d..b0b8701adf1 100644 --- a/.github/workflows/twister.yaml +++ b/.github/workflows/twister.yaml @@ -190,6 +190,7 @@ jobs: git log --pretty=oneline | head -n 10 fi echo "$HOME/.local/bin" >> $GITHUB_PATH + echo "$HOME/.cargo/bin" >> $GITHUB_PATH west init -l . || true west config manifest.group-filter -- +ci,+optional @@ -203,6 +204,8 @@ jobs: run: | cmake --version gcc --version + cargo --version + rustup target list --installed ls -la echo "github.ref: ${{ github.ref }}" echo "github.base_ref: ${{ github.base_ref }}"