From a021589df2499eebcd8ee2b5ee68466c19bbf8d2 Mon Sep 17 00:00:00 2001 From: John R Patek Sr Date: Thu, 19 Feb 2026 09:47:31 -0600 Subject: [PATCH] trying to build using clean build trees strategy --- .github/free_disk_space.sh | 6 +++++- .github/workflows/test.yml | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/free_disk_space.sh b/.github/free_disk_space.sh index e9b64d4..b03f22d 100755 --- a/.github/free_disk_space.sh +++ b/.github/free_disk_space.sh @@ -1,3 +1,4 @@ + #!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with @@ -44,4 +45,7 @@ df -h echo "Removing large directories" # deleting 15GB rm -rf /usr/share/dotnet/ -df -h \ No newline at end of file +rm -rf /opt/hostedtoolcache +rm -rf /opt/ghc +sudo rm -rf /usr/local/lib/android +df -h diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 25ac1a8..b3008e2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,12 +41,12 @@ jobs: - name: Posix vcpkg clone if: ${{ matrix.os != 'windows-latest' }} run: | - ${{ github.workspace }}/.github/free_disk_space.sh git clone https://github.com/microsoft/vcpkg - name: Ubuntu Setup if: ${{ matrix.os == 'ubuntu-latest' }} run: | + ${{ github.workspace }}/.github/free_disk_space.sh sudo apt-get update sudo apt-get install -y autoconf autoconf-archive automake libtool libltdl-dev sudo apt-get install -y '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev libegl1-mesa-dev @@ -58,4 +58,4 @@ jobs: run: ${{matrix.os == 'windows-latest' && 'D:\a\vcpkg\bootstrap-vcpkg.bat' || './vcpkg/bootstrap-vcpkg.sh'}} - name: Install dependencies - run: ${{matrix.os == 'windows-latest' && 'D:\a\vcpkg\vcpkg install' || './vcpkg/vcpkg install'}} --triplet ${{matrix.triplet}} --x-install-root ${{ github.workspace }}${{ matrix.os == 'windows-latest' && '\vcpkg-cache' || '/vcpkg-cache' }} \ No newline at end of file + run: ${{matrix.os == 'windows-latest' && 'D:\a\vcpkg\vcpkg install' || './vcpkg/vcpkg install'}} --triplet ${{matrix.triplet}} --x-install-root ${{ github.workspace }}${{ matrix.os == 'windows-latest' && '\vcpkg-cache' || '/vcpkg-cache' }} --clean-buildtrees-after-build \ No newline at end of file