From 4944feefab6c218d4ba56c332c9c5609ecb25408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Wed, 4 Sep 2024 13:30:51 +0200 Subject: [PATCH] Try to fix CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- .github/ci/before_cmake.sh | 27 ++++++--------------------- .github/workflows/ci.yml | 2 +- 2 files changed, 7 insertions(+), 22 deletions(-) diff --git a/.github/ci/before_cmake.sh b/.github/ci/before_cmake.sh index 13dfde0..7ee5d0b 100644 --- a/.github/ci/before_cmake.sh +++ b/.github/ci/before_cmake.sh @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1f6db6..b853ea0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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