mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-29 11:01:23 +00:00
ci: Shrink the purge a bit
This commit is contained in:
parent
03087257df
commit
f315544808
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -369,7 +369,7 @@ jobs:
|
||||||
git
|
git
|
||||||
IFS=$'-' compiler=($(echo "${{ matrix.compiler }}")) # ToDo: Can this be done without invoking a sub-shell?
|
IFS=$'-' compiler=($(echo "${{ matrix.compiler }}")) # ToDo: Can this be done without invoking a sub-shell?
|
||||||
if [[ "${compiler[0]}" == "GCC" ]]; then
|
if [[ "${compiler[0]}" == "GCC" ]]; then
|
||||||
sudo apt-get purge "gcc*" "g++*"
|
sudo apt-get purge "gcc" "g++"
|
||||||
sudo apt-get install \
|
sudo apt-get install \
|
||||||
binutils gcc-${compiler[1]} g++-${compiler[1]}
|
binutils gcc-${compiler[1]} g++-${compiler[1]}
|
||||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${compiler[1]} 800 --slave /usr/bin/g++ g++ /usr/bin/g++-${compiler[1]}
|
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${compiler[1]} 800 --slave /usr/bin/g++ g++ /usr/bin/g++-${compiler[1]}
|
||||||
|
@ -378,7 +378,7 @@ jobs:
|
||||||
echo "CMAKE_C_FLAGS=-fuse-ld=ld" >> "$GITHUB_ENV"
|
echo "CMAKE_C_FLAGS=-fuse-ld=ld" >> "$GITHUB_ENV"
|
||||||
echo "CMAKE_CXX_FLAGS=-fuse-ld=ld" >> "$GITHUB_ENV"
|
echo "CMAKE_CXX_FLAGS=-fuse-ld=ld" >> "$GITHUB_ENV"
|
||||||
elif [[ "${compiler[0]}" == "Clang" ]]; then
|
elif [[ "${compiler[0]}" == "Clang" ]]; then
|
||||||
sudo apt-get purge "*clang*" "*clangd*" "*clang++*" "lld*" "*clang-format*" "*clang-tidy*"
|
sudo apt-get purge "clang" "clangd" "clang++" "lld" "clang-format" "clang-tidy"
|
||||||
curl -jLo /tmp/llvm.sh "https://apt.llvm.org/llvm.sh"
|
curl -jLo /tmp/llvm.sh "https://apt.llvm.org/llvm.sh"
|
||||||
chmod +x /tmp/llvm.sh
|
chmod +x /tmp/llvm.sh
|
||||||
sudo /tmp/llvm.sh ${compiler[1]} all
|
sudo /tmp/llvm.sh ${compiler[1]} all
|
||||||
|
|
Loading…
Reference in a new issue