mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #2219, Ubuntu build fail. Add CI for ubuntu20
This commit is contained in:
parent
969b947849
commit
57f16299f4
3 changed files with 14 additions and 3 deletions
|
@ -13,6 +13,7 @@ if [[ $OS_KERNEL_NAME == Darwin ]]; then
|
|||
SRS_PLATFORM="${SRS_PLATFORM}-${GCC_VERSION}"
|
||||
else
|
||||
GCC_VERSION="GCC$(gcc --version 2>/dev/null|grep gcc|awk '{print $3}')"
|
||||
echo $GCC_VERSION| grep '-' >/dev/null && GCC_VERSION=$(echo $GCC_VERSION| awk -F '-' '{print$1}')
|
||||
SRS_PLATFORM="${SRS_PLATFORM}-${GCC_VERSION}"
|
||||
fi
|
||||
# Use isolate cache for different SRS version.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue