Add Ubuntu 22.04 to Nightly CI

Targets will be non-blocking and only in nightly run for now

Task-number: QTQAINFRA-4926
Change-Id: I7b229c1ccc34da4f1843dac3c25e19f7df819489
Reviewed-by: Toni Saario <toni.saario@qt.io>
This commit is contained in:
Heikki Halmet
2022-04-27 14:52:13 +03:00
committed by Ville-Pekka Karhu
parent 5af40232de
commit 73234745bb
36 changed files with 1486 additions and 1 deletions

View File

@@ -50,7 +50,12 @@ function SetEnvVar {
echo "Setting environment variable $name to $path."
if uname -a |grep -q "Ubuntu"; then
echo "export $name=$path" >> ~/.profile
if lsb_release -a |grep "Ubuntu 22.04"; then
echo "export $name=$path" >> ~/.bashrc
echo "export $name=$path" >> ~/.bash_profile
else
echo "export $name=$path" >> ~/.profile
fi
else
echo "export $name=$path" >> ~/.bashrc
echo "export $name=$path" >> ~/.zshrc