mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-27 07:06:33 +08:00
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:
committed by
Ville-Pekka Karhu
parent
5af40232de
commit
73234745bb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user