Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed May 19, 2024
1 parent a12128f commit 4f0066e
Showing 1 changed file with 0 additions and 50 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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'
Expand Down

0 comments on commit 4f0066e

Please sign in to comment.