mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 10:12:06 -08:00
CI/CD: LLVM & rust version mismatch bugfix
This commit is contained in:
parent
821850cca9
commit
6ed2a63379
1 changed files with 5 additions and 8 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
|
@ -36,10 +36,10 @@ jobs:
|
||||||
|
|
||||||
- name: Remove unwanted tools
|
- name: Remove unwanted tools
|
||||||
# Originally from here: https://github.com/AdityaGarg8/remove-unwanted-software/blob/master/action.yml
|
# Originally from here: https://github.com/AdityaGarg8/remove-unwanted-software/blob/master/action.yml
|
||||||
# Modified to keep tools nessecary for llvm.
|
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get remove -y '^aspnetcore-.*' > /dev/null
|
sudo apt-get remove -y '^aspnetcore-.*' > /dev/null
|
||||||
sudo apt-get remove -y '^dotnet-.*' > /dev/null
|
sudo apt-get remove -y '^dotnet-.*' > /dev/null
|
||||||
|
sudo apt-get remove -y '^llvm-.*' > /dev/null
|
||||||
sudo apt-get remove -y 'php.*' > /dev/null
|
sudo apt-get remove -y 'php.*' > /dev/null
|
||||||
sudo apt-get remove -y '^mongodb-.*' > /dev/null
|
sudo apt-get remove -y '^mongodb-.*' > /dev/null
|
||||||
sudo apt-get remove -y '^mysql-.*' > /dev/null
|
sudo apt-get remove -y '^mysql-.*' > /dev/null
|
||||||
|
|
@ -65,18 +65,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: "3.11"
|
python-version: "3.11"
|
||||||
|
|
||||||
- name: Set up Clang
|
|
||||||
uses: egor-tensin/setup-clang@v1
|
|
||||||
with:
|
|
||||||
version: latest
|
|
||||||
platform: ${{ matrix.arch == 'x86_64' && 'x64' || 'any' }}
|
|
||||||
|
|
||||||
- name: Set up LLVM
|
- name: Set up LLVM
|
||||||
run: |
|
run: |
|
||||||
wget https://apt.llvm.org/llvm.sh
|
wget https://apt.llvm.org/llvm.sh
|
||||||
chmod +x llvm.sh
|
chmod +x llvm.sh
|
||||||
sudo ./llvm.sh 18
|
sudo ./llvm.sh 18
|
||||||
sudo apt-get install -y lld-18
|
sudo apt-get install -y lld-18 clang-18
|
||||||
|
if [ "${{ matrix.arch }}" != "x86_64" ]; then
|
||||||
|
sudo apt-get install -y libc6-i386 lib32gcc-s1 lib32stdc++6 gcc-multilib g++-multilib
|
||||||
|
fi
|
||||||
sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/ld.lld-18 100
|
sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/ld.lld-18 100
|
||||||
|
|
||||||
- name: Check disk space
|
- name: Check disk space
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue