[ci] use env install script to install env

This commit is contained in:
Meco Man 2024-07-10 00:13:15 +08:00 committed by Rbb666
parent f5a98c6fc8
commit 08c96e5e47
2 changed files with 6 additions and 5 deletions

View File

@ -45,8 +45,9 @@ jobs:
- name: Install Tools - name: Install Tools
shell: bash shell: bash
run: | run: |
sudo apt-get update wget https://raw.githubusercontent.com/RT-Thread/env/master/install_ubuntu.sh
sudo apt-get -yqq install scons chmod 777 install_ubuntu.sh
./install_ubuntu.sh
- name: Install Arm ToolChains - name: Install Arm ToolChains
if: ${{ success() }} if: ${{ success() }}

View File

@ -46,9 +46,9 @@ jobs:
- name: Install Tools - name: Install Tools
shell: bash shell: bash
run: | run: |
sudo apt-get update wget https://raw.githubusercontent.com/RT-Thread/env/master/install_ubuntu.sh
sudo apt-get -qq install gcc-multilib libncurses5 libncurses5-dev libncursesw5-dev scons chmod 777 install_ubuntu.sh
sudo python -m pip install --upgrade pip -qq ./install_ubuntu.sh
git config --global http.postBuffer 524288000 git config --global http.postBuffer 524288000
git remote -v git remote -v
git fetch origin git fetch origin