Skip to content

Commit

Permalink
Try to fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed Sep 4, 2024
1 parent 1361960 commit 4944fee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
27 changes: 6 additions & 21 deletions .github/ci/before_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,13 @@ BUILD_DIR=`pwd`

cd /tmp

# check that we can compile USD from sources (only Focal)
# see https://github.com/ignitionrobotics/sdformat/issues/869
return_code=0
USD_VERSION="24.08"

mkdir cmake_test
cd cmake_test

echo "cmake_minimum_required(VERSION 3.12)" > CMakeLists.txt

cmake . || return_code=$(($return_code + $?))
if [ $return_code -eq 0 ]
then
# compile USD from sources
cd /tmp

apt install libpyside2-dev python3-opengl cmake libglu1-mesa-dev freeglut3-dev mesa-common-dev libx11-dev -y

wget https://github.com/PixarAnimationStudios/USD/archive/refs/tags/v$USD_VERSION.zip
unzip v$USD_VERSION.zip
cd OpenUSD-$USD_VERSION
python3 build_scripts/build_usd.py --build-variant release --no-tests --no-imaging --no-examples --no-tutorials --no-docs --onetbb --no-python /tmp/USD
fi
# compile USD from sources
apt install libpyside2-dev python3-opengl cmake libglu1-mesa-dev freeglut3-dev mesa-common-dev libx11-dev -y
wget https://github.com/PixarAnimationStudios/USD/archive/refs/tags/v$USD_VERSION.zip
unzip v$USD_VERSION.zip
cd OpenUSD-$USD_VERSION
python3 build_scripts/build_usd.py --build-variant release --no-tests --no-imaging --no-examples --no-tutorials --no-docs --onetbb --no-python /tmp/USD

cd $BUILD_DIR
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
id: ci
uses: gazebo-tooling/action-gz-ci@noble
with:
codecov-enabled: true
codecov-enabled: false
cppcheck-enabled: true
cpplint-enabled: true

0 comments on commit 4944fee

Please sign in to comment.