From 4a53d86fe883578e0f602ac48bee17a958f55593 Mon Sep 17 00:00:00 2001 From: Pau Ruiz Safont Date: Mon, 2 Oct 2023 10:26:24 +0100 Subject: [PATCH 1/2] github: use latest ubuntu image (22.04) Signed-off-by: Pau Ruiz Safont --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a5fe4e9bf..98cc832bc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ on: jobs: build: name: Build and test - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: From 8cff5343ad4d48905f9de7205b0815ec2eb12722 Mon Sep 17 00:00:00 2001 From: Pau Ruiz Safont Date: Mon, 2 Oct 2023 10:51:51 +0100 Subject: [PATCH 2/2] github: free space We don't need any of the android tools, other tools can be removed as well, but it can take quite long to compile these Signed-off-by: Pau Ruiz Safont --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 98cc832bc..964bb98bc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,6 +32,9 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Free space + run: sudo rm -rf /usr/local/lib/android + - name: Retrieve date for cache key id: cache-key run: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT