mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 02:51:33 +08:00
add source ~/.env/env.sh for ci
This commit is contained in:
parent
96085cc377
commit
ae1988e54d
3
.github/workflows/action.yml
vendored
3
.github/workflows/action.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user