diff options
| author | Meco Man <[email protected]> | 2024-07-10 00:13:15 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-07-10 13:41:05 +0800 |
| commit | 08c96e5e472a2f6e978856d932c154157cda83c0 (patch) | |
| tree | b32d7e5d4d9402e1709e2cf4f7dcde043c0584d4 | |
| parent | f5a98c6fc8ad5a61a99c0636c71927bf179783c5 (diff) | |
[ci] use env install script to install env
| -rw-r--r-- | .github/workflows/action_tools.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/compile_bsp_with_drivers.yml | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/action_tools.yml b/.github/workflows/action_tools.yml index 7bc67fc6b8..60b1917b5d 100644 --- a/.github/workflows/action_tools.yml +++ b/.github/workflows/action_tools.yml @@ -45,8 +45,9 @@ jobs: - name: Install Tools shell: bash run: | - sudo apt-get update - sudo apt-get -yqq install scons + wget https://raw.githubusercontent.com/RT-Thread/env/master/install_ubuntu.sh + chmod 777 install_ubuntu.sh + ./install_ubuntu.sh - name: Install Arm ToolChains if: ${{ success() }} diff --git a/.github/workflows/compile_bsp_with_drivers.yml b/.github/workflows/compile_bsp_with_drivers.yml index 53d6e4269f..43fcb59ab3 100644 --- a/.github/workflows/compile_bsp_with_drivers.yml +++ b/.github/workflows/compile_bsp_with_drivers.yml @@ -46,9 +46,9 @@ jobs: - name: Install Tools shell: bash run: | - sudo apt-get update - sudo apt-get -qq install gcc-multilib libncurses5 libncurses5-dev libncursesw5-dev scons - sudo python -m pip install --upgrade pip -qq + wget https://raw.githubusercontent.com/RT-Thread/env/master/install_ubuntu.sh + chmod 777 install_ubuntu.sh + ./install_ubuntu.sh git config --global http.postBuffer 524288000 git remote -v git fetch origin |
