Skip to content

Commit a4b2a9c

Browse files
committed
Fix west install in GitHub action
1 parent b1528ba commit a4b2a9c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/test-build-mcux-sdk-manifests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,16 @@ jobs:
8383

8484
- name: Install software
8585
run: |
86-
sudo apt-get install -y gcc-arm-none-eabi west
86+
sudo apt-get install -y gcc-arm-none-eabi
8787
8888
- name: Setup MCUXpresso SDK
8989
run: |
90+
python -m venv venv
91+
source venv/bin/activate
92+
pip install west
9093
west init -m https://github.com/nxp-mcuxpresso/mcuxsdk-manifests.git mcuxpresso-sdk
9194
cd mcuxpresso-sdk
95+
sed -i '/se_hostlib\|emwin/d' manifests/boards/${{inputs.board-name}}.yml
9296
west update_board --set board ${{inputs.board-name}}
9397
9498
- name: make distclean

0 commit comments

Comments
 (0)