Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic exit of scripts on failure #219

Merged
merged 2 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ci/install_dart_latest.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
set -e

# Select Compiler
if [ "$COMPILER" = "gcc" ]; then
export CC=/usr/bin/gcc && export CXX=/usr/bin/g++
Expand Down
2 changes: 2 additions & 0 deletions ci/install_magnum.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
set -e

# Select Compiler
if [ "$COMPILER" = "gcc" ]; then
export CC=/usr/bin/gcc && export CXX=/usr/bin/g++
Expand Down
6 changes: 5 additions & 1 deletion ci/install_packages.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
set -e

sudo apt-get -qq update
sudo apt-get -y install software-properties-common mlocate
sudo apt-add-repository -y ppa:dartsim/ppa
sudo apt-get -qq update
sudo apt-get install -y --no-install-recommends build-essential cmake pkg-config git libeigen3-dev libccd-dev libfcl-dev libboost-regex-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev libbullet-dev libode-dev liboctomap-dev libtinyxml-dev libtinyxml2-dev liburdfdom-dev liburdfdom-headers-dev python3-pip python3-numpy libpython3-dev libxi-dev libxmu-dev freeglut3-dev libopenscenegraph-dev libassimp-dev libfmt-dev pybind11-dev

sudo ln -s /usr/bin/python3 /usr/bin/python
if [ ! -f /usr/bin/python ]; then
sudo ln -s /usr/bin/python3 /usr/bin/python
fi

if [ "$MAGNUM_GUI" = "ON" ]; then
sudo apt-get install -y --no-install-recommends libopenal-dev libglfw3-dev libsdl2-dev libdevil-dev libpng-dev libfaad-dev libfreetype6-dev libglm-dev
Expand Down
2 changes: 1 addition & 1 deletion scripts/install_osx.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set -x
set -e

CLEAN=0

Expand Down
2 changes: 2 additions & 0 deletions scripts/install_ubuntu.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
set -e

CLEAN=0

CLEAN=${1:-$CLEAN}
Expand Down
Loading