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 <david.brown@linaro.org>
This commit is contained in:
parent
63308c5f13
commit
c3438903d2
1 changed files with 3 additions and 0 deletions
3
.github/workflows/twister.yaml
vendored
3
.github/workflows/twister.yaml
vendored
|
|
@ -190,6 +190,7 @@ jobs:
|
||||||
git log --pretty=oneline | head -n 10
|
git log --pretty=oneline | head -n 10
|
||||||
fi
|
fi
|
||||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
west init -l . || true
|
west init -l . || true
|
||||||
west config manifest.group-filter -- +ci,+optional
|
west config manifest.group-filter -- +ci,+optional
|
||||||
|
|
@ -203,6 +204,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cmake --version
|
cmake --version
|
||||||
gcc --version
|
gcc --version
|
||||||
|
cargo --version
|
||||||
|
rustup target list --installed
|
||||||
ls -la
|
ls -la
|
||||||
echo "github.ref: ${{ github.ref }}"
|
echo "github.ref: ${{ github.ref }}"
|
||||||
echo "github.base_ref: ${{ github.base_ref }}"
|
echo "github.base_ref: ${{ github.base_ref }}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue