mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 13:42:03 -08:00
CI/CD: Downgrade LLVM to 18
This commit is contained in:
parent
ed87adf6fe
commit
147885431a
1 changed files with 9 additions and 1 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
|
||||
- name: Remove unwanted tools
|
||||
# Originally from here: https://github.com/AdityaGarg8/remove-unwanted-software/blob/master/action.yml
|
||||
# Modified to keep llvm.
|
||||
# Modified to keep tools nessecary for llvm.
|
||||
run: |
|
||||
sudo apt-get remove -y '^aspnetcore-.*' > /dev/null
|
||||
sudo apt-get remove -y '^dotnet-.*' > /dev/null
|
||||
|
|
@ -71,6 +71,14 @@ jobs:
|
|||
version: latest
|
||||
platform: ${{ matrix.arch == 'x86_64' && 'x64' || 'any' }}
|
||||
|
||||
- name: Set up LLVM
|
||||
run: |
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
sudo ./llvm.sh 18
|
||||
sudo apt-get install -y lld-18
|
||||
sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/ld.lld-18 100
|
||||
|
||||
- name: Check disk space
|
||||
run: df -h
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue