add source ~/.env/env.sh for ci
@@ -154,6 +154,8 @@ jobs:
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
+ python -c "import tools.menuconfig; tools.menuconfig.touch_env()"
+ source ~/.env/env.sh
echo "RTT_ROOT=${{ github.workspace }}" >> $GITHUB_ENV
echo "RTT_CC=gcc" >> $GITHUB_ENV
@@ -198,6 +200,5 @@ 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
