diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c438e5eb..4dcb0f35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,12 +26,32 @@ jobs: args: "" python-version: "3.12" backend: "pytorch" + - platform: "ubuntu-22.04" + args: "--target x86_64-unknown-linux-gnu --bundles deb,rpm" + python-version: "3.12" + backend: "pytorch" runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v4 + # Ubuntu runners ship with ~14 GB free; pip + PyInstaller + torch can + # peak well above that during the build. Reclaim ~25 GB by pruning + # preinstalled toolchains we don't use. This is what likely tripped + # the March 2026 Linux release attempts (see commit 103e98b + # "github runners suck") — not a code issue, a disk-pressure one. + - name: Free up disk space (ubuntu) + if: contains(matrix.platform, 'ubuntu') || contains(matrix.platform, 'namespace') + uses: jlumbroso/free-disk-space@main + with: + tool-cache: false + android: true + dotnet: true + haskell: true + large-packages: true + swap-storage: true + - name: Install dependencies (ubuntu only) if: contains(matrix.platform, 'ubuntu') || contains(matrix.platform, 'namespace') run: |