From dd42a65e222237ad17349d5d55d0018320338661 Mon Sep 17 00:00:00 2001 From: Hugh Perkins Date: Fri, 14 Nov 2025 07:24:27 -0500 Subject: [PATCH 1/2] free up some disk space; default built 20 --- .github/workflows/llvm-ci.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/llvm-ci.yml b/.github/workflows/llvm-ci.yml index e5cadc9..44c0357 100644 --- a/.github/workflows/llvm-ci.yml +++ b/.github/workflows/llvm-ci.yml @@ -1,13 +1,13 @@ name: Build LLVM (matrix) env: - DEFAULT_LLVM_VERSION: '15.0.7' + DEFAULT_LLVM_VERSION: '20.1.0' on: workflow_dispatch: inputs: llvm_version: - description: "e.g. 15.0.7, 21.1.1, etc" + description: "e.g. 15.0.7, 20.1.0, 21.1.1, etc" required: false pull_request: branches: @@ -44,6 +44,18 @@ jobs: - name: Silence git default-branch hint run: git config --global init.defaultBranch main + - name: Free Disk Space + run: | + df -h + pushd /opt/python + rm -Rf cp39-cp39 cp314-cp314 cp314-cp314t cp38-cp38 cp313-cp313t pp310-pypy310_pp73 pp311-pypy311_pp73 + for cpversion in cp310 cp311 cp312 cp313; do { + if [[ "${cpversion}" != "cp310" ]]; then + rm -Rf ${cpversion}-${cpversion} + fi + } done + ls /opt/python/ + df -h # ---------- Prereqs ---------- - name: Install prerequisites (Linux) if: runner.os == 'Linux' From f99eaaf02c6c987a9b9b8b7af27bb8f2d3f69837 Mon Sep 17 00:00:00 2001 From: Hugh Perkins Date: Fri, 14 Nov 2025 07:27:04 -0500 Subject: [PATCH 2/2] condition on linux --- .github/workflows/llvm-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/llvm-ci.yml b/.github/workflows/llvm-ci.yml index 44c0357..463e542 100644 --- a/.github/workflows/llvm-ci.yml +++ b/.github/workflows/llvm-ci.yml @@ -45,6 +45,7 @@ jobs: run: git config --global init.defaultBranch main - name: Free Disk Space + if: runner.os == 'Linux' run: | df -h pushd /opt/python