-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated github workflow to still build on 18.04 * Added support for clang-10 on 20.04 * Added support for gcc-11 and clang-14 on 22.04
- Loading branch information
1 parent
cc9618f
commit 82270e0
Showing
15 changed files
with
91 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,24 @@ | ||
#!/bin/bash | ||
|
||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | ||
python3_pkgs="libpython3-dev python3 python3-pip python3-setuptools python3-wheel python-is-python3" | ||
python2_pkgs="libpython-dev python python-pip python-wheel python-setuptools" | ||
other_pkgs="build-essential castxml cmake libboost-all-dev libgtest-dev liblapacke-dev libopenblas-dev libpugixml-dev sqlite3" | ||
|
||
if [ `lsb_release -a | grep Release | grep 18.04 | wc -l` == 1 ]; then | ||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | ||
fi | ||
|
||
sudo apt-get update | ||
sudo apt-get install -y --no-install-recommends build-essential castxml cmake libboost-all-dev libgtest-dev liblapacke-dev libopenblas-dev libproj-dev libpugixml-dev libpython3-dev python python-setuptools python3 python3-pip python3-setuptools python3-wheel | ||
sudo apt-get install -y --no-install-recommends ${other_pkgs} ${python3_pkgs} | ||
|
||
if [ `lsb_release -a | grep Release | grep 20.04 | wc -l` == 1 ]; then | ||
sudo apt-get install -y --no-install-recommends python-is-python3 | ||
else | ||
sudo apt-get install -y --no-install-recommends python-pip python-wheel | ||
if [ `lsb_release -a | grep Release | grep 22.04 | wc -l` != 1 ]; then | ||
sudo add-get install -y --no-install-recommends ${python2_pkgs} | ||
fi | ||
|
||
sudo pip3 install --upgrade setuptools==51.1.2 | ||
sudo pip3 install colcon-common-extensions xmlrunner pygccxml pyplusplus | ||
|
||
if [ `lsb_release -a | grep Release | grep 20.04 | wc -l` != 1 ]; then | ||
if [ `lsb_release -a | grep Release | grep 18.04 | wc -l` == 1 ]; then | ||
sudo pip2 install --upgrade setuptools==41.1.0 | ||
sudo pip2 install pygccxml pyplusplus xmlrunner | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters