diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index adce9a5..1f07d3c 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -5,11 +5,15 @@ jobs: - job: linux pool: - vmImage: ubuntu-16.04 + vmImage: ubuntu-latest strategy: matrix: - linux_64_: - CONFIG: linux_64_ + linux_64_urdfdom1: + CONFIG: linux_64_urdfdom1 + UPLOAD_PACKAGES: 'True' + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7 + linux_64_urdfdom2: + CONFIG: linux_64_urdfdom2 UPLOAD_PACKAGES: 'True' DOCKER_IMAGE: quay.io/condaforge/linux-anvil-comp7 timeoutInMinutes: 360 diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index 0c89240..e21c791 100755 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -8,8 +8,11 @@ jobs: vmImage: macOS-10.15 strategy: matrix: - osx_64_: - CONFIG: osx_64_ + osx_64_urdfdom1: + CONFIG: osx_64_urdfdom1 + UPLOAD_PACKAGES: 'True' + osx_64_urdfdom2: + CONFIG: osx_64_urdfdom2 UPLOAD_PACKAGES: 'True' timeoutInMinutes: 360 diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index 1fd8ea1..e0ab774 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -8,8 +8,11 @@ jobs: vmImage: vs2017-win2016 strategy: matrix: - win_64_: - CONFIG: win_64_ + win_64_urdfdom1: + CONFIG: win_64_urdfdom1 + UPLOAD_PACKAGES: 'True' + win_64_urdfdom2: + CONFIG: win_64_urdfdom2 UPLOAD_PACKAGES: 'True' timeoutInMinutes: 360 variables: diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_urdfdom1.yaml similarity index 97% rename from .ci_support/linux_64_.yaml rename to .ci_support/linux_64_urdfdom1.yaml index a3f1526..03f84c3 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_urdfdom1.yaml @@ -29,6 +29,8 @@ pin_run_as_build: max_pin: x.x.x target_platform: - linux-64 +urdfdom: +- '1' zip_keys: - - c_compiler_version - cxx_compiler_version diff --git a/.ci_support/linux_64_urdfdom2.yaml b/.ci_support/linux_64_urdfdom2.yaml new file mode 100644 index 0000000..3decceb --- /dev/null +++ b/.ci_support/linux_64_urdfdom2.yaml @@ -0,0 +1,38 @@ +boost_cpp: +- 1.74.0 +c_compiler: +- gcc +c_compiler_version: +- '9' +cdt_name: +- cos6 +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +cxx_compiler: +- gxx +cxx_compiler_version: +- '9' +docker_image: +- quay.io/condaforge/linux-anvil-comp7 +flann: +- 1.9.1 +lz4_c: +- 1.9.3 +pin_run_as_build: + boost-cpp: + max_pin: x.x.x + flann: + max_pin: x.x.x + lz4-c: + max_pin: x.x.x +target_platform: +- linux-64 +urdfdom: +- '2' +zip_keys: +- - c_compiler_version + - cxx_compiler_version +- - cdt_name + - docker_image diff --git a/.ci_support/linux_aarch64_.yaml b/.ci_support/linux_aarch64_urdfdom1.yaml similarity index 97% rename from .ci_support/linux_aarch64_.yaml rename to .ci_support/linux_aarch64_urdfdom1.yaml index 2059449..ef3045c 100644 --- a/.ci_support/linux_aarch64_.yaml +++ b/.ci_support/linux_aarch64_urdfdom1.yaml @@ -33,6 +33,8 @@ pin_run_as_build: max_pin: x.x.x target_platform: - linux-aarch64 +urdfdom: +- '1' zip_keys: - - c_compiler_version - cxx_compiler_version diff --git a/.ci_support/linux_aarch64_urdfdom2.yaml b/.ci_support/linux_aarch64_urdfdom2.yaml new file mode 100644 index 0000000..aeaaf1d --- /dev/null +++ b/.ci_support/linux_aarch64_urdfdom2.yaml @@ -0,0 +1,40 @@ +BUILD: +- aarch64-conda_cos7-linux-gnu +boost_cpp: +- 1.74.0 +c_compiler: +- gcc +c_compiler_version: +- '9' +cdt_arch: +- aarch64 +cdt_name: +- cos7 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- gxx +cxx_compiler_version: +- '9' +docker_image: +- quay.io/condaforge/linux-anvil-aarch64 +flann: +- 1.9.1 +lz4_c: +- 1.9.3 +pin_run_as_build: + boost-cpp: + max_pin: x.x.x + flann: + max_pin: x.x.x + lz4-c: + max_pin: x.x.x +target_platform: +- linux-aarch64 +urdfdom: +- '2' +zip_keys: +- - c_compiler_version + - cxx_compiler_version diff --git a/.ci_support/linux_ppc64le_.yaml b/.ci_support/linux_ppc64le_urdfdom1.yaml similarity index 97% rename from .ci_support/linux_ppc64le_.yaml rename to .ci_support/linux_ppc64le_urdfdom1.yaml index 1b3b5cf..bb5605a 100644 --- a/.ci_support/linux_ppc64le_.yaml +++ b/.ci_support/linux_ppc64le_urdfdom1.yaml @@ -29,6 +29,8 @@ pin_run_as_build: max_pin: x.x.x target_platform: - linux-ppc64le +urdfdom: +- '1' zip_keys: - - c_compiler_version - cxx_compiler_version diff --git a/.ci_support/linux_ppc64le_urdfdom2.yaml b/.ci_support/linux_ppc64le_urdfdom2.yaml new file mode 100644 index 0000000..246b472 --- /dev/null +++ b/.ci_support/linux_ppc64le_urdfdom2.yaml @@ -0,0 +1,36 @@ +boost_cpp: +- 1.74.0 +c_compiler: +- gcc +c_compiler_version: +- '9' +cdt_name: +- cos7 +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +cxx_compiler: +- gxx +cxx_compiler_version: +- '9' +docker_image: +- quay.io/condaforge/linux-anvil-ppc64le +flann: +- 1.9.1 +lz4_c: +- 1.9.3 +pin_run_as_build: + boost-cpp: + max_pin: x.x.x + flann: + max_pin: x.x.x + lz4-c: + max_pin: x.x.x +target_platform: +- linux-ppc64le +urdfdom: +- '2' +zip_keys: +- - c_compiler_version + - cxx_compiler_version diff --git a/.ci_support/osx_64_.yaml b/.ci_support/osx_64_urdfdom1.yaml similarity index 97% rename from .ci_support/osx_64_.yaml rename to .ci_support/osx_64_urdfdom1.yaml index c5e2a45..f5d5045 100644 --- a/.ci_support/osx_64_.yaml +++ b/.ci_support/osx_64_urdfdom1.yaml @@ -29,6 +29,8 @@ pin_run_as_build: max_pin: x.x.x target_platform: - osx-64 +urdfdom: +- '1' zip_keys: - - c_compiler_version - cxx_compiler_version diff --git a/.ci_support/osx_64_urdfdom2.yaml b/.ci_support/osx_64_urdfdom2.yaml new file mode 100644 index 0000000..9303b02 --- /dev/null +++ b/.ci_support/osx_64_urdfdom2.yaml @@ -0,0 +1,36 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +boost_cpp: +- 1.74.0 +c_compiler: +- clang +c_compiler_version: +- '11' +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +cxx_compiler: +- clangxx +cxx_compiler_version: +- '11' +flann: +- 1.9.1 +lz4_c: +- 1.9.3 +macos_machine: +- x86_64-apple-darwin13.4.0 +pin_run_as_build: + boost-cpp: + max_pin: x.x.x + flann: + max_pin: x.x.x + lz4-c: + max_pin: x.x.x +target_platform: +- osx-64 +urdfdom: +- '2' +zip_keys: +- - c_compiler_version + - cxx_compiler_version diff --git a/.ci_support/win_64_.yaml b/.ci_support/win_64_urdfdom1.yaml similarity index 95% rename from .ci_support/win_64_.yaml rename to .ci_support/win_64_urdfdom1.yaml index ce71f2f..36541cb 100644 --- a/.ci_support/win_64_.yaml +++ b/.ci_support/win_64_urdfdom1.yaml @@ -25,3 +25,5 @@ pin_run_as_build: max_pin: x.x.x target_platform: - win-64 +urdfdom: +- '1' diff --git a/.ci_support/win_64_urdfdom2.yaml b/.ci_support/win_64_urdfdom2.yaml new file mode 100644 index 0000000..c2d9b53 --- /dev/null +++ b/.ci_support/win_64_urdfdom2.yaml @@ -0,0 +1,29 @@ +boost_cpp: +- 1.74.0 +c_compiler: +- vs2017 +channel_sources: +- conda-forge,defaults +channel_targets: +- conda-forge main +cxx_compiler: +- vs2017 +flann: +- 1.9.1 +lz4_c: +- 1.9.3 +perl: +- 5.26.2 +pin_run_as_build: + boost-cpp: + max_pin: x.x.x + flann: + max_pin: x.x.x + lz4-c: + max_pin: x.x.x + perl: + max_pin: x.x.x +target_platform: +- win-64 +urdfdom: +- '2' diff --git a/.drone.yml b/.drone.yml index af15091..0a792de 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ --- kind: pipeline -name: linux_aarch64_ +name: linux_aarch64_urdfdom1 platform: os: linux @@ -10,7 +10,38 @@ steps: - name: Install and build image: quay.io/condaforge/linux-anvil-aarch64 environment: - CONFIG: linux_aarch64_ + CONFIG: linux_aarch64_urdfdom1 + UPLOAD_PACKAGES: True + PLATFORM: linux-aarch64 + BINSTAR_TOKEN: + from_secret: BINSTAR_TOKEN + FEEDSTOCK_TOKEN: + from_secret: FEEDSTOCK_TOKEN + STAGING_BINSTAR_TOKEN: + from_secret: STAGING_BINSTAR_TOKEN + commands: + - export FEEDSTOCK_ROOT="$DRONE_WORKSPACE" + - export RECIPE_ROOT="$FEEDSTOCK_ROOT/recipe" + - export CI=drone + - export GIT_BRANCH="$DRONE_BRANCH" + - export FEEDSTOCK_NAME=$(basename ${DRONE_REPO_NAME}) + - sed -i '$ichown -R conda:conda "$FEEDSTOCK_ROOT"' /opt/docker/bin/entrypoint + - /opt/docker/bin/entrypoint $FEEDSTOCK_ROOT/.scripts/build_steps.sh + - echo "Done building" + +--- +kind: pipeline +name: linux_aarch64_urdfdom2 + +platform: + os: linux + arch: arm64 + +steps: +- name: Install and build + image: quay.io/condaforge/linux-anvil-aarch64 + environment: + CONFIG: linux_aarch64_urdfdom2 UPLOAD_PACKAGES: True PLATFORM: linux-aarch64 BINSTAR_TOKEN: diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh index 44ad3ce..244ccd1 100755 --- a/.scripts/run_docker_build.sh +++ b/.scripts/run_docker_build.sh @@ -52,11 +52,11 @@ if [ -z "${DOCKER_IMAGE}" ]; then echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils" DOCKER_IMAGE=$(cat .ci_support/${CONFIG}.yaml | grep '^docker_image:$' -A 1 | tail -n 1 | cut -b 3-) if [ "${DOCKER_IMAGE}" = "" ]; then - echo "No docker_image entry found in ${CONFIG}. Falling back to condaforge/linux-anvil-comp7" - DOCKER_IMAGE="condaforge/linux-anvil-comp7" + echo "No docker_image entry found in ${CONFIG}. Falling back to quay.io/condaforge/linux-anvil-comp7" + DOCKER_IMAGE="quay.io/condaforge/linux-anvil-comp7" fi else - DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 condaforge/linux-anvil-comp7 )" + DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 quay.io/condaforge/linux-anvil-comp7 )" fi fi diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index 39436ec..96d0278 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -4,12 +4,14 @@ source .scripts/logging_utils.sh set -xe +MINIFORGE_HOME=${MINIFORGE_HOME:-${HOME}/miniforge3} + ( startgroup "Installing a fresh version of Miniforge" ) 2> /dev/null MINIFORGE_URL="https://github.com/conda-forge/miniforge/releases/latest/download" MINIFORGE_FILE="Miniforge3-MacOSX-x86_64.sh" curl -L -O "${MINIFORGE_URL}/${MINIFORGE_FILE}" -bash $MINIFORGE_FILE -b +bash $MINIFORGE_FILE -b -p ${MINIFORGE_HOME} ( endgroup "Installing a fresh version of Miniforge" ) 2> /dev/null @@ -17,7 +19,7 @@ bash $MINIFORGE_FILE -b BUILD_CMD=build -source ${HOME}/miniforge3/etc/profile.d/conda.sh +source ${MINIFORGE_HOME}/etc/profile.d/conda.sh conda activate base echo -e "\n\nInstalling conda-forge-ci-setup=3 and conda-build." @@ -27,11 +29,18 @@ conda install -n base --quiet --yes "conda-forge-ci-setup=3" conda-build pip ${G echo -e "\n\nSetting up the condarc and mangling the compiler." setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml -mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml -echo -e "\n\nMangling homebrew in the CI to avoid conflicts." -/usr/bin/sudo mangle_homebrew -/usr/bin/sudo -k +if [[ "${CI:-}" != "" ]]; then + mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml +fi + +if [[ "${CI:-}" != "" ]]; then + echo -e "\n\nMangling homebrew in the CI to avoid conflicts." + /usr/bin/sudo mangle_homebrew + /usr/bin/sudo -k +else + echo -e "\n\nNot mangling homebrew as we are not running in CI" +fi echo -e "\n\nRunning the build setup script." source run_conda_forge_build_setup diff --git a/.travis.yml b/.travis.yml index 6a7591a..23ef8a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,15 @@ language: generic matrix: include: - - env: CONFIG=linux_ppc64le_ UPLOAD_PACKAGES=True PLATFORM=linux-ppc64le DOCKER_IMAGE=quay.io/condaforge/linux-anvil-ppc64le + - env: CONFIG=linux_ppc64le_urdfdom1 UPLOAD_PACKAGES=True PLATFORM=linux-ppc64le DOCKER_IMAGE=quay.io/condaforge/linux-anvil-ppc64le os: linux arch: ppc64le + dist: focal + + - env: CONFIG=linux_ppc64le_urdfdom2 UPLOAD_PACKAGES=True PLATFORM=linux-ppc64le DOCKER_IMAGE=quay.io/condaforge/linux-anvil-ppc64le + os: linux + arch: ppc64le + dist: focal script: - export CI=travis diff --git a/README.md b/README.md index 88007c8..4112959 100644 --- a/README.md +++ b/README.md @@ -45,38 +45,73 @@ Current build status
Variant | Status | |
---|---|---|
linux_64 | +linux_64_urdfdom1 |
- |
linux_aarch64 | +linux_64_urdfdom2 |
- |
linux_ppc64le | +linux_aarch64_urdfdom1 |
- |
osx_64 | +linux_aarch64_urdfdom2 |
- |
win_64 | +linux_ppc64le_urdfdom1 |
- |
+
linux_ppc64le_urdfdom2 | +
+
+ |
+ |
osx_64_urdfdom1 | +
+
+ |
+ |
osx_64_urdfdom2 | +
+
+ |
+ |
win_64_urdfdom1 | +
+
+ |
+ |
win_64_urdfdom2 | +
+
+ |