From 8c66114b2751d7557c139f99ca088999ef1b3413 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Wed, 13 Aug 2025 15:05:21 +0100 Subject: [PATCH] chore: free disk space on ci --- .github/workflows/ci.yml | 46 ++++++++++++++++++++++++++++++--- misc/mintd_payment_processor.sh | 2 ++ 2 files changed, 45 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0a08f16..9dd6fd7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: name: "Run examples" runs-on: ubuntu-latest timeout-minutes: 30 - needs: [pre-commit-checks, clippy] + needs: pre-commit-checks strategy: matrix: build-args: @@ -172,6 +172,16 @@ jobs: steps: - name: checkout uses: actions/checkout@v4 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + tool-cache: false + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true - name: Install Nix uses: DeterminateSystems/nix-installer-action@v17 - name: Nix Cache @@ -201,6 +211,16 @@ jobs: steps: - name: checkout uses: actions/checkout@v4 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + tool-cache: true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true - name: Install Nix uses: DeterminateSystems/nix-installer-action@v17 - name: Nix Cache @@ -230,6 +250,16 @@ jobs: steps: - name: checkout uses: actions/checkout@v4 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + tool-cache: true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true - name: Install Nix uses: DeterminateSystems/nix-installer-action@v17 - name: Nix Cache @@ -260,6 +290,16 @@ jobs: steps: - name: checkout uses: actions/checkout@v4 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + tool-cache: true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true - name: Install Nix uses: DeterminateSystems/nix-installer-action@v17 - name: Nix Cache @@ -275,7 +315,7 @@ jobs: name: "MSRV build" runs-on: ubuntu-latest timeout-minutes: 30 - needs: [pre-commit-checks, clippy, pure-itest] + needs: [pre-commit-checks, clippy] strategy: matrix: build-args: @@ -316,7 +356,7 @@ jobs: name: Check WASM runs-on: ubuntu-latest timeout-minutes: 30 - needs: [pre-commit-checks, clippy, pure-itest] + needs: [pre-commit-checks, clippy] strategy: matrix: rust: diff --git a/misc/mintd_payment_processor.sh b/misc/mintd_payment_processor.sh index 47904594..5d833155 100755 --- a/misc/mintd_payment_processor.sh +++ b/misc/mintd_payment_processor.sh @@ -123,6 +123,8 @@ export CDK_PAYMENT_PROCESSOR_LISTEN_PORT="8090"; echo "$CDK_PAYMENT_PROCESSOR_CLN_RPC_PATH" +cargo b --bin cdk-payment-processor + cargo run --bin cdk-payment-processor & CDK_PAYMENT_PROCESSOR_PID=$!