feat(CI): add support for GCC (#3314)

Co-authored-by: Viste <viste02@gmail.com>
This commit is contained in:
Francesco Borzì
2020-09-17 19:03:05 +02:00
committed by GitHub
parent d76c8caba0
commit 56ca87994b
4 changed files with 29 additions and 3 deletions

View File

@@ -26,6 +26,19 @@ time ./acore.sh install-deps
case $COMPILER in
# this is in order to use the "default" gcc version of the OS, without forcing a specific version
"gcc" )
time sudo apt-get install -y gcc g++
echo "CCOMPILERC=\"gcc\"" >> ./conf/config.sh
echo "CCOMPILERCXX=\"g++\"" >> ./conf/config.sh
;;
"gcc10" )
time sudo apt-get install -y gcc-10 g++-10
echo "CCOMPILERC=\"gcc-10\"" >> ./conf/config.sh
echo "CCOMPILERCXX=\"g++-10\"" >> ./conf/config.sh
;;
# this is in order to use the "default" clang version of the OS, without forcing a specific version
"clang" )
time sudo apt-get install -y clang