Merge pull request #5224 from cndabai/ci-pkgs

This commit is contained in:
guo 2021-10-25 20:40:39 +08:00 committed by GitHub
commit 6a81d06abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -151,7 +151,10 @@ jobs:
shell: bash shell: bash
run: | run: |
sudo apt-get update 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
pip install requests -qq
python -c "import tools.menuconfig; tools.menuconfig.touch_env()"
echo "RTT_ROOT=${{ github.workspace }}" >> $GITHUB_ENV echo "RTT_ROOT=${{ github.workspace }}" >> $GITHUB_ENV
echo "RTT_CC=gcc" >> $GITHUB_ENV echo "RTT_CC=gcc" >> $GITHUB_ENV
@ -196,4 +199,6 @@ jobs:
RTT_BSP: ${{ matrix.legs.RTT_BSP }} RTT_BSP: ${{ matrix.legs.RTT_BSP }}
RTT_TOOL_CHAIN: ${{ matrix.legs.RTT_TOOL_CHAIN }} RTT_TOOL_CHAIN: ${{ matrix.legs.RTT_TOOL_CHAIN }}
run: | run: |
source ~/.env/env.sh
pushd bsp/$RTT_BSP && pkgs --update && popd
scons -C bsp/$RTT_BSP scons -C bsp/$RTT_BSP