🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
chore: update build yml file setting (#2307)
Wendong-Faneb74548e6add
diff --git a/.github/workflows/build_package.yml b/.github/workflows/build_package.ymlindex 333bf0c17..abc5e792b 100644--- a/.github/workflows/build_package.yml+++ b/.github/workflows/build_package.yml@@ -7,55 +7,66 @@ on:jobs:build:runs-on: ubuntu-latest- strategy:- matrix:- python-version: ["3.10"]steps:- uses: actions/checkout@v3- - name: Clean up before build+ - name: Free disk spacerun: |sudo apt-get clean+ sudo apt-get autoremove -ysudo rm -rf /var/lib/apt/lists/*+ sudo rm -rf /usr/share/dotnet+ sudo rm -rf /opt/ghc+ sudo rm -rf /usr/local/share/boost+ sudo rm -rf /usr/local/lib/androidsudo rm -rf /tmp/*sudo rm -rf $HOME/.cache/pipdf -h- name: Set up Python environment- uses: actions/setup-python@v5+ uses: actions/setup-python@v3with:- python-version: ${{ matrix.python-version }}+ python-version: "3.10"- name: Install uvrun: |pip install uv- - name: Maximize build space- uses: easimon/maximize-build-space@v10- with:- root-reserve-mb: 512- swap-size-mb: 1024- remove-dotnet: 'true'- remove-android: 'true'- remove-haskell: 'true'-- name: Create virtual environmentrun: |- uv venv .venv --python=${{ matrix.python-version }}+ uv venv .venv --python=3.10+ df -h- - name: List files in working directory- run: ls -la+ - name: Install core dependencies+ run: |+ source .venv/bin/activate+ # Install just the core dependencies first+ uv pip install -e "."+ df -h- - name: Install dependencies+ - name: Install dev dependenciesrun: |source .venv/bin/activate- uv pip install -e ".[all, dev, docs]"+ # Install dev dependencies separately+ uv pip install -e ".[dev]"+ df -h- - name: Build+ - name: Install docs dependencies+ run: |+ source .venv/bin/activate+ # Install docs dependencies separately+ uv pip install -e ".[docs]"+ df -h++ - name: Install build toolsrun: |source .venv/bin/activate- uv pip install -e ".[all, dev, docs]"uv pip install build+ df -h++ - name: Build+ run: |+ source .venv/bin/activatepython -m build- name: Set up test environment@@ -133,7 +144,12 @@ jobs:if: always()run: |sudo apt-get clean+ sudo apt-get autoremove -ysudo rm -rf /var/lib/apt/lists/*+ sudo rm -rf /usr/share/dotnet+ sudo rm -rf /opt/ghc+ sudo rm -rf /usr/local/share/boost+ sudo rm -rf /usr/local/lib/androidsudo rm -rf /tmp/*sudo rm -rf $HOME/.cache/pipdf -h