diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aaee104..3c1e3dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,21 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + - name: Increase swapfile + run: | + sudo swapoff -a + sudo fallocate -l 15G /swapfile + sudo chmod 600 /swapfile + sudo mkswap /swapfile + sudo swapon /swapfile + sudo swapon --show + - name: maximize build space + uses: easimon/maximize-build-space@fc881a613ad2a34aca9c9624518214ebc21dfc0c # ratchet:easimon/maximize-build-space@v10 + with: + root-reserve-mb: 38912 + swap-size-mb: 4096 + remove-dotnet: "true" + remove-android: "true" - name: Install dependencies run: | python -m pip install --upgrade pip