diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml deleted file mode 100644 index 30fd50bfea..0000000000 --- a/bitbucket-pipelines.yml +++ /dev/null @@ -1,100 +0,0 @@ -image: ubuntu:bionic - -pipelines: - default: - - step: - script: - - apt-get update - - apt -y install wget lsb-release gnupg sudo curl - # Enable relevant package repositories - - docker/scripts/enable_ign_stable.sh - - docker/scripts/enable_ign_prerelease.sh - # Install base dependencies - - docker/scripts/install_common_deps.sh - - docker/scripts/enable_gcc8.sh - - docker/scripts/install_ign_deps.sh - # There are two methods to install ignition/osrf dependencies. - # The first method uses debians and the second builds dependencies - # from source. For each dependency, please use only one method. - # METHOD 1: Install the following debians - - apt-get install -y - libignition-cmake2-dev - libignition-common3-dev - libignition-gui3-dev - libignition-math6-eigen3-dev - libignition-msgs5-dev - libignition-plugin-dev - libignition-rendering3-dev - libignition-tools-dev - libignition-transport8-dev - libsdformat9-dev - libignition-fuel-tools4-dev - libignition-physics2-dev - libignition-sensors3-dev - # METHOD 2: Build from source - # Build dependencies from source using a given branch - # - docker/scripts/build_ign.sh ignitionrobotics ign-sensors default - # - docker/scripts/build_ign.sh ignitionrobotics ign-physics default - # - docker/scripts/build_ign.sh ignitionrobotics ign-fuel-tools default - # Build Ignition Gazebo - - ./tools/clang_tidy.sh - - mkdir build - - cd build - - cmake .. -DCMAKE_BUILD_TYPE=coverage - - make -j1 install - - export IGN_CONFIG_PATH=/usr/local/share/ignition - - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib - # run codecheck before tests so flaky tests don't obscure codecheck failures - - make codecheck - - export CTEST_OUTPUT_ON_FAILURE=1 - - make test - - make coverage - # Use a special version of codecov for handling gcc8 output. - - bash <(curl -s https://raw.githubusercontent.com/codecov/codecov-bash/4678d212cce2078bbaaf5027af0c0dafaad6a095/codecov) -X gcovout -X gcov - custom: - benchmark: - - step: - script: - - apt-get update - - apt -y install wget lsb-release gnupg sudo curl - # Enable relevant package repositories - - docker/scripts/enable_ign_stable.sh - # Install base dependencies - - docker/scripts/install_common_deps.sh - - docker/scripts/enable_gcc8.sh - - docker/scripts/install_ign_deps.sh - # There are two methods to install ignition/osrf dependencies. - # The first method uses debians and the second builds dependencies - # from source. For each dependency, please use only one method. - # METHOD 1: Install the following debians - - apt-get install -y - libignition-cmake2-dev - libignition-common3-dev - libignition-math6-eigen3-dev - libignition-plugin-dev - libignition-tools-dev - # libignition-fuel-tools4-dev - # libignition-physics2-dev - # libsdformat9-dev - # libignition-gui3-dev - # libignition-msgs5-dev - # libignition-rendering3-dev - # libignition-sensors3-dev - # libignition-transport8-dev - # Build some Ignition libraries from source. - # Build ign-rendering from source using the default branch - - docker/scripts/build_ign.sh osrf sdformat default - - docker/scripts/build_ign.sh ignitionrobotics ign-msgs default - - docker/scripts/build_ign.sh ignitionrobotics ign-transport default - - docker/scripts/build_ign.sh ignitionrobotics ign-rendering default - - docker/scripts/build_ign.sh ignitionrobotics ign-gui default - - docker/scripts/build_ign.sh ignitionrobotics ign-sensors default - - docker/scripts/build_ign.sh ignitionrobotics ign-physics default - - docker/scripts/build_ign.sh ignitionrobotics ign-fuel-tools default - # Build Ignition Gazebo - - mkdir build - - cd build - - cmake .. - - make -j4 install - - ./bin/BENCHMARK_each --benchmark_out_format=json --benchmark_out=each.json - - ../docker/scripts/upload_json_benchmark.sh each.json