mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-23 11:55:11 +00:00
Opt for more modern linkers on CI
This commit is contained in:
parent
54b6df0fd0
commit
2277c60e5e
1 changed files with 2 additions and 0 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -359,6 +359,7 @@ jobs:
|
|||
|
||||
echo "CMAKE_C_COMPILER=gcc-${compiler[1]}" >> "$GITHUB_ENV"
|
||||
echo "CMAKE_CXX_COMPILER=g++-${compiler[1]}" >> "$GITHUB_ENV"
|
||||
echo "CMAKE_LINKER=gold" >> "$GITHUB_ENV"
|
||||
elif [[ "${compiler[0]}" == "Clang" ]]; then
|
||||
curl -jLo /tmp/llvm.sh "https://apt.llvm.org/llvm.sh"
|
||||
chmod +x /tmp/llvm.sh
|
||||
|
@ -373,6 +374,7 @@ jobs:
|
|||
|
||||
echo "CMAKE_C_COMPILER=clang-${compiler[1]}" >> "$GITHUB_ENV"
|
||||
echo "CMAKE_CXX_COMPILER=clang++-${compiler[1]}" >> "$GITHUB_ENV"
|
||||
echo "CMAKE_LINKER=ld.lld-${compiler[1]}" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "Unknown Compiler"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue