添加CI中pkgs --update

This commit is contained in:
mazhiyuan 2021-10-25 13:45:56 +08:00
parent df634978f2
commit 96085cc377
1 changed files with 5 additions and 1 deletions

View File

@ -151,7 +151,9 @@ jobs:
shell: bash
run: |
sudo apt-get update
sudo apt-get -qq install gcc-multilib libsdl-dev scons
sudo apt-get -qq install gcc-multilib libsdl-dev libncurses5-dev scons
sudo python -m pip install --upgrade pip -qq
sudo pip install requests -qq
echo "RTT_ROOT=${{ github.workspace }}" >> $GITHUB_ENV
echo "RTT_CC=gcc" >> $GITHUB_ENV
@ -196,4 +198,6 @@ jobs:
RTT_BSP: ${{ matrix.legs.RTT_BSP }}
RTT_TOOL_CHAIN: ${{ matrix.legs.RTT_TOOL_CHAIN }}
run: |
python -c "import tools.menuconfig; tools.menuconfig.touch_env()"
pushd bsp/$RTT_BSP && pkgs --update && popd
scons -C bsp/$RTT_BSP