From 4f0066e8f97944464776d496c56de26820c9def4 Mon Sep 17 00:00:00 2001 From: Kartatz <105828205+Kartatz@users.noreply.github.com> Date: Sat, 18 May 2024 21:56:32 -0300 Subject: [PATCH] Initial commit --- .github/workflows/build.yml | 50 ------------------------------------- 1 file changed, 50 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8fdc00d..5fc5539 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,46 +76,6 @@ jobs: - uses: actions/checkout@main with: submodules: true - - name: Free up some space - run: | - sudo rm --recursive --force \ - '/opt/'* \ - '/usr/local/lib/android' \ - '/usr/local/share/vcpkg' \ - '/usr/share/java' - sudo apt purge --auto-remove \ - '*apache2*' \ - '*docker*' \ - '*dotnet*' \ - '*firefox*' \ - '*google*' \ - '*jdk*' \ - '*nginx*' \ - '*php*' \ - '*ruby*' \ - '*wayland*' \ - 'auto*' \ - 'azure-cli' \ - 'bind9*' \ - 'build-essential' \ - 'clang*' \ - 'container*' \ - 'glib*' \ - 'libmono*' \ - 'lld*' \ - 'llvm*' \ - 'mercurial*' \ - 'mysql*' \ - 'postgresql*' \ - 'powershell' \ - 'x11*' \ - 'xdg*' - - name: Increase swap space - run: | - sudo swapoff -a - sudo fallocate -l 15G '/mnt/swapfile' - sudo mkswap '/mnt/swapfile' - sudo swapon '/mnt/swapfile' - name: Restore from cache uses: actions/cache@main with: @@ -128,16 +88,6 @@ jobs: run: | tar --directory='/tmp' --extract --file='/tmp/x86_64-linux-gnu.tar.xz' mv '/tmp/atar' '/tmp/atar-toolchain' - - name: Install Clang 18 - run: | - wget 'https://apt.llvm.org/llvm.sh' - sudo bash './llvm.sh' '18' - - for old in '/usr/bin/'*'-18'; do - declare new="$(sed 's/-18//g' <<< "${old}")" - sudo unlink "${new}" 2>/dev/null || true - sudo ln --symbolic "${old}" "${new}" - done - name: Build Atar with OBGGCC run: | source './tools/setup_toolchain.sh'