Add build files 2024-02-08-0020 #209
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
stage_0_job_0: | |
name: ament-pep257 ament-cmake-gtest ament-lint-auto ament-cmake-google-benchmark | |
ament-cmake-pytest | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: [] | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ament-pep257 ros-humble-ament-cmake-gtest ros-humble-ament-lint-auto | |
ros-humble-ament-cmake-google-benchmark ros-humble-ament-cmake-pytest | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ament-pep257 ros-humble-ament-cmake-gtest ros-humble-ament-lint-auto | |
ros-humble-ament-cmake-google-benchmark ros-humble-ament-cmake-pytest | |
stage_0_job_1: | |
name: ament-mypy | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: [] | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ament-mypy | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ament-mypy | |
stage_1_job_2: | |
name: ament-copyright ament-cmake-gen-version-h ament-cmake-gmock | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_0_job_0 | |
- stage_0_job_1 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ament-copyright ros-humble-ament-cmake-gen-version-h | |
ros-humble-ament-cmake-gmock | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ament-copyright ros-humble-ament-cmake-gen-version-h | |
ros-humble-ament-cmake-gmock | |
stage_2_job_3: | |
name: ament-lint-cmake ament-cmake ament-xmllint ament-cpplint ament-index-python | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_1_job_2 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ament-lint-cmake ros-humble-ament-cmake ros-humble-ament-xmllint | |
ros-humble-ament-cpplint ros-humble-ament-index-python | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ament-lint-cmake ros-humble-ament-cmake ros-humble-ament-xmllint | |
ros-humble-ament-cpplint ros-humble-ament-index-python | |
stage_2_job_4: | |
name: domain-coordinator generate-parameter-library-py | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_1_job_2 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-domain-coordinator ros-humble-generate-parameter-library-py | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-domain-coordinator ros-humble-generate-parameter-library-py | |
stage_3_job_5: | |
name: ament-cmake-lint-cmake uncrustify-vendor launch rosidl-cli rpyutils | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_2_job_3 | |
- stage_2_job_4 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ament-cmake-lint-cmake ros-humble-uncrustify-vendor | |
ros-humble-launch ros-humble-rosidl-cli ros-humble-rpyutils | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ament-cmake-lint-cmake ros-humble-uncrustify-vendor ros-humble-launch | |
ros-humble-rosidl-cli ros-humble-rpyutils | |
stage_3_job_6: | |
name: pybind11-vendor tinyxml-vendor tinyxml2-vendor tl-expected tcb-span | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_2_job_3 | |
- stage_2_job_4 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-pybind11-vendor ros-humble-tinyxml-vendor ros-humble-tinyxml2-vendor | |
ros-humble-tl-expected ros-humble-tcb-span | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-pybind11-vendor ros-humble-tinyxml-vendor ros-humble-tinyxml2-vendor | |
ros-humble-tl-expected ros-humble-tcb-span | |
stage_3_job_7: | |
name: backward-ros yaml-cpp-vendor angles ament-cmake-auto sqlite3-vendor | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_2_job_3 | |
- stage_2_job_4 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-backward-ros ros-humble-yaml-cpp-vendor ros-humble-angles | |
ros-humble-ament-cmake-auto ros-humble-sqlite3-vendor | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-backward-ros ros-humble-yaml-cpp-vendor ros-humble-angles | |
ros-humble-ament-cmake-auto ros-humble-sqlite3-vendor | |
stage_3_job_8: | |
name: shared-queues-vendor ros2-control-test-assets zstd-vendor | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_2_job_3 | |
- stage_2_job_4 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-shared-queues-vendor ros-humble-ros2-control-test-assets | |
ros-humble-zstd-vendor | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-shared-queues-vendor ros-humble-ros2-control-test-assets | |
ros-humble-zstd-vendor | |
stage_4_job_9: | |
name: ament-cmake-copyright ament-uncrustify launch-yaml launch-xml | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_3_job_5 | |
- stage_3_job_6 | |
- stage_3_job_7 | |
- stage_3_job_8 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ament-cmake-copyright ros-humble-ament-uncrustify | |
ros-humble-launch-yaml ros-humble-launch-xml | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ament-cmake-copyright ros-humble-ament-uncrustify ros-humble-launch-yaml | |
ros-humble-launch-xml | |
stage_5_job_10: | |
name: ament-cmake-xmllint ament-cmake-uncrustify ament-cmake-pep257 ament-cmake-flake8 | |
ament-cmake-cpplint | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_4_job_9 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ament-cmake-xmllint ros-humble-ament-cmake-uncrustify | |
ros-humble-ament-cmake-pep257 ros-humble-ament-cmake-flake8 ros-humble-ament-cmake-cpplint | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ament-cmake-xmllint ros-humble-ament-cmake-uncrustify | |
ros-humble-ament-cmake-pep257 ros-humble-ament-cmake-flake8 ros-humble-ament-cmake-cpplint | |
stage_5_job_11: | |
name: ament-cmake-cppcheck launch-testing eigen3-cmake-module | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_4_job_9 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ament-cmake-cppcheck ros-humble-launch-testing | |
ros-humble-eigen3-cmake-module | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ament-cmake-cppcheck ros-humble-launch-testing ros-humble-eigen3-cmake-module | |
stage_6_job_12: | |
name: ament-lint-common foonathan-memory-vendor | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_5_job_10 | |
- stage_5_job_11 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ament-lint-common ros-humble-foonathan-memory-vendor | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ament-lint-common ros-humble-foonathan-memory-vendor | |
stage_7_job_13: | |
name: python-cmake-module performance-test-fixture mimick-vendor ament-cmake-ros | |
rosidl-adapter | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_6_job_12 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-python-cmake-module ros-humble-performance-test-fixture | |
ros-humble-mimick-vendor ros-humble-ament-cmake-ros ros-humble-rosidl-adapter | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-python-cmake-module ros-humble-performance-test-fixture | |
ros-humble-mimick-vendor ros-humble-ament-cmake-ros ros-humble-rosidl-adapter | |
stage_7_job_14: | |
name: rosidl-typesupport-interface fastrtps-cmake-module fastrtps rti-connext-dds-cmake-module | |
rmw-implementation-cmake | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_6_job_12 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rosidl-typesupport-interface ros-humble-fastrtps-cmake-module | |
ros-humble-fastrtps ros-humble-rti-connext-dds-cmake-module ros-humble-rmw-implementation-cmake | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rosidl-typesupport-interface ros-humble-fastrtps-cmake-module | |
ros-humble-fastrtps ros-humble-rti-connext-dds-cmake-module ros-humble-rmw-implementation-cmake | |
stage_7_job_15: | |
name: ament-index-cpp spdlog-vendor orocos-kdl-vendor keyboard-handler | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_6_job_12 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ament-index-cpp ros-humble-spdlog-vendor ros-humble-orocos-kdl-vendor | |
ros-humble-keyboard-handler | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ament-index-cpp ros-humble-spdlog-vendor ros-humble-orocos-kdl-vendor | |
ros-humble-keyboard-handler | |
stage_8_job_16: | |
name: launch-testing-ament-cmake rosidl-parser tracetools console-bridge-vendor | |
urdf-parser-plugin | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_7_job_13 | |
- stage_7_job_14 | |
- stage_7_job_15 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-launch-testing-ament-cmake ros-humble-rosidl-parser | |
ros-humble-tracetools ros-humble-console-bridge-vendor ros-humble-urdf-parser-plugin | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-launch-testing-ament-cmake ros-humble-rosidl-parser ros-humble-tracetools | |
ros-humble-console-bridge-vendor ros-humble-urdf-parser-plugin | |
stage_9_job_17: | |
name: rcutils rosidl-cmake urdfdom | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_8_job_16 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rcutils ros-humble-rosidl-cmake ros-humble-urdfdom | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rcutils ros-humble-rosidl-cmake ros-humble-urdfdom | |
stage_10_job_18: | |
name: rosidl-runtime-c rcpputils | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_9_job_17 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rosidl-runtime-c ros-humble-rcpputils | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rosidl-runtime-c ros-humble-rcpputils | |
stage_11_job_19: | |
name: rosidl-runtime-cpp rosidl-generator-c rmw rosidl-typesupport-introspection-c | |
libyaml-vendor | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_10_job_18 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rosidl-runtime-cpp ros-humble-rosidl-generator-c | |
ros-humble-rmw ros-humble-rosidl-typesupport-introspection-c ros-humble-libyaml-vendor | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rosidl-runtime-cpp ros-humble-rosidl-generator-c ros-humble-rmw | |
ros-humble-rosidl-typesupport-introspection-c ros-humble-libyaml-vendor | |
stage_11_job_20: | |
name: rcl-logging-interface class-loader | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_10_job_18 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rcl-logging-interface ros-humble-class-loader | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rcl-logging-interface ros-humble-class-loader | |
stage_12_job_21: | |
name: rosidl-generator-cpp rosidl-typesupport-introspection-cpp rcl-yaml-param-parser | |
rcl-logging-spdlog pluginlib | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_11_job_19 | |
- stage_11_job_20 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rosidl-generator-cpp ros-humble-rosidl-typesupport-introspection-cpp | |
ros-humble-rcl-yaml-param-parser ros-humble-rcl-logging-spdlog ros-humble-pluginlib | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rosidl-generator-cpp ros-humble-rosidl-typesupport-introspection-cpp | |
ros-humble-rcl-yaml-param-parser ros-humble-rcl-logging-spdlog ros-humble-pluginlib | |
stage_13_job_22: | |
name: rosidl-typesupport-fastrtps-cpp urdf rosidl-typesupport-fastrtps-c kdl-parser | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_12_job_21 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rosidl-typesupport-fastrtps-cpp ros-humble-urdf | |
ros-humble-rosidl-typesupport-fastrtps-c ros-humble-kdl-parser | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rosidl-typesupport-fastrtps-cpp ros-humble-urdf ros-humble-rosidl-typesupport-fastrtps-c | |
ros-humble-kdl-parser | |
stage_14_job_23: | |
name: rosidl-typesupport-c rosidl-typesupport-cpp rosidl-generator-py | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_13_job_22 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rosidl-typesupport-c ros-humble-rosidl-typesupport-cpp | |
ros-humble-rosidl-generator-py | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rosidl-typesupport-c ros-humble-rosidl-typesupport-cpp | |
ros-humble-rosidl-generator-py | |
stage_15_job_24: | |
name: rosidl-default-runtime rosidl-default-generators | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_14_job_23 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rosidl-default-runtime ros-humble-rosidl-default-generators | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rosidl-default-runtime ros-humble-rosidl-default-generators | |
stage_16_job_25: | |
name: unique-identifier-msgs builtin-interfaces rmw-dds-common lifecycle-msgs | |
std-srvs | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_15_job_24 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-unique-identifier-msgs ros-humble-builtin-interfaces | |
ros-humble-rmw-dds-common ros-humble-lifecycle-msgs ros-humble-std-srvs | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-unique-identifier-msgs ros-humble-builtin-interfaces | |
ros-humble-rmw-dds-common ros-humble-lifecycle-msgs ros-humble-std-srvs | |
stage_17_job_26: | |
name: action-msgs rmw-fastrtps-shared-cpp rmw-connextdds-common rcl-interfaces | |
std-msgs | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_16_job_25 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-action-msgs ros-humble-rmw-fastrtps-shared-cpp | |
ros-humble-rmw-connextdds-common ros-humble-rcl-interfaces ros-humble-std-msgs | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-action-msgs ros-humble-rmw-fastrtps-shared-cpp ros-humble-rmw-connextdds-common | |
ros-humble-rcl-interfaces ros-humble-std-msgs | |
stage_17_job_27: | |
name: statistics-msgs rosgraph-msgs controller-manager-msgs rosbag2-interfaces | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_16_job_25 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-statistics-msgs ros-humble-rosgraph-msgs ros-humble-controller-manager-msgs | |
ros-humble-rosbag2-interfaces | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-statistics-msgs ros-humble-rosgraph-msgs ros-humble-controller-manager-msgs | |
ros-humble-rosbag2-interfaces | |
stage_18_job_28: | |
name: test-msgs rmw-connextdds composition-interfaces geometry-msgs actionlib-msgs | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_17_job_26 | |
- stage_17_job_27 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-test-msgs ros-humble-rmw-connextdds ros-humble-composition-interfaces | |
ros-humble-geometry-msgs ros-humble-actionlib-msgs | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-test-msgs ros-humble-rmw-connextdds ros-humble-composition-interfaces | |
ros-humble-geometry-msgs ros-humble-actionlib-msgs | |
stage_18_job_29: | |
name: ackermann-msgs ros2cli-test-interfaces | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_17_job_26 | |
- stage_17_job_27 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ackermann-msgs ros-humble-ros2cli-test-interfaces | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ackermann-msgs ros-humble-ros2cli-test-interfaces | |
stage_19_job_30: | |
name: rmw-fastrtps-dynamic-cpp rmw-fastrtps-cpp sensor-msgs rosidl-runtime-py | |
tf2 | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_18_job_28 | |
- stage_18_job_29 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rmw-fastrtps-dynamic-cpp ros-humble-rmw-fastrtps-cpp | |
ros-humble-sensor-msgs ros-humble-rosidl-runtime-py ros-humble-tf2 | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rmw-fastrtps-dynamic-cpp ros-humble-rmw-fastrtps-cpp | |
ros-humble-sensor-msgs ros-humble-rosidl-runtime-py ros-humble-tf2 | |
stage_19_job_31: | |
name: tf2-msgs shape-msgs nav-msgs trajectory-msgs diagnostic-msgs | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_18_job_28 | |
- stage_18_job_29 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-tf2-msgs ros-humble-shape-msgs ros-humble-nav-msgs | |
ros-humble-trajectory-msgs ros-humble-diagnostic-msgs | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-tf2-msgs ros-humble-shape-msgs ros-humble-nav-msgs ros-humble-trajectory-msgs | |
ros-humble-diagnostic-msgs | |
stage_19_job_32: | |
name: vision-msgs | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_18_job_28 | |
- stage_18_job_29 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-vision-msgs | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-vision-msgs | |
stage_20_job_33: | |
name: rmw-implementation visualization-msgs stereo-msgs control-msgs tf2-eigen-kdl | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_19_job_30 | |
- stage_19_job_31 | |
- stage_19_job_32 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rmw-implementation ros-humble-visualization-msgs | |
ros-humble-stereo-msgs ros-humble-control-msgs ros-humble-tf2-eigen-kdl | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rmw-implementation ros-humble-visualization-msgs ros-humble-stereo-msgs | |
ros-humble-control-msgs ros-humble-tf2-eigen-kdl | |
stage_21_job_34: | |
name: rcl common-interfaces | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_20_job_33 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rcl ros-humble-common-interfaces | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rcl ros-humble-common-interfaces | |
stage_22_job_35: | |
name: rcl-lifecycle rcl-action libstatistics-collector | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_21_job_34 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rcl-lifecycle ros-humble-rcl-action ros-humble-libstatistics-collector | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rcl-lifecycle ros-humble-rcl-action ros-humble-libstatistics-collector | |
stage_23_job_36: | |
name: rclpy rclcpp | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_22_job_35 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rclpy ros-humble-rclcpp | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rclpy ros-humble-rclcpp | |
stage_24_job_37: | |
name: launch-ros rclcpp-lifecycle ros2cli rclcpp-components rclcpp-action | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_23_job_36 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-launch-ros ros-humble-rclcpp-lifecycle ros-humble-ros2cli | |
ros-humble-rclcpp-components ros-humble-rclcpp-action | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-launch-ros ros-humble-rclcpp-lifecycle ros-humble-ros2cli | |
ros-humble-rclcpp-components ros-humble-rclcpp-action | |
stage_24_job_38: | |
name: tf2-py rsl rosbag2-test-common filters | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_23_job_36 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-tf2-py ros-humble-rsl ros-humble-rosbag2-test-common | |
ros-humble-filters | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-tf2-py ros-humble-rsl ros-humble-rosbag2-test-common | |
ros-humble-filters | |
stage_25_job_39: | |
name: launch-testing-ros message-filters tf2-ros-py parameter-traits rosbag2-storage | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_24_job_37 | |
- stage_24_job_38 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-launch-testing-ros ros-humble-message-filters | |
ros-humble-tf2-ros-py ros-humble-parameter-traits ros-humble-rosbag2-storage | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-launch-testing-ros ros-humble-message-filters ros-humble-tf2-ros-py | |
ros-humble-parameter-traits ros-humble-rosbag2-storage | |
stage_25_job_40: | |
name: hardware-interface realtime-tools kinematics-interface ros2lifecycle-test-fixtures | |
ros2multicast | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_24_job_37 | |
- stage_24_job_38 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-hardware-interface ros-humble-realtime-tools ros-humble-kinematics-interface | |
ros-humble-ros2lifecycle-test-fixtures ros-humble-ros2multicast | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-hardware-interface ros-humble-realtime-tools ros-humble-kinematics-interface | |
ros-humble-ros2lifecycle-test-fixtures ros-humble-ros2multicast | |
stage_25_job_41: | |
name: joint-limits | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_24_job_37 | |
- stage_24_job_38 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-joint-limits | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-joint-limits | |
stage_26_job_42: | |
name: ros2topic tf2-ros generate-parameter-library ros2test rosbag2-storage-default-plugins | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_25_job_39 | |
- stage_25_job_40 | |
- stage_25_job_41 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ros2topic ros-humble-tf2-ros ros-humble-generate-parameter-library | |
ros-humble-ros2test ros-humble-rosbag2-storage-default-plugins | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ros2topic ros-humble-tf2-ros ros-humble-generate-parameter-library | |
ros-humble-ros2test ros-humble-rosbag2-storage-default-plugins | |
stage_26_job_43: | |
name: ros2pkg ros2service ros2node controller-interface kinematics-interface-kdl | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_25_job_39 | |
- stage_25_job_40 | |
- stage_25_job_41 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ros2pkg ros-humble-ros2service ros-humble-ros2node | |
ros-humble-controller-interface ros-humble-kinematics-interface-kdl | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ros2pkg ros-humble-ros2service ros-humble-ros2node ros-humble-controller-interface | |
ros-humble-kinematics-interface-kdl | |
stage_26_job_44: | |
name: ros2interface ros2doctor ros2action transmission-interface tf2-tools | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_25_job_39 | |
- stage_25_job_40 | |
- stage_25_job_41 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ros2interface ros-humble-ros2doctor ros-humble-ros2action | |
ros-humble-transmission-interface ros-humble-tf2-tools | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ros2interface ros-humble-ros2doctor ros-humble-ros2action | |
ros-humble-transmission-interface ros-humble-tf2-tools | |
stage_27_job_45: | |
name: robot-state-publisher tf2-geometry-msgs tf2-kdl tf2-eigen tf2-sensor-msgs | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_26_job_42 | |
- stage_26_job_43 | |
- stage_26_job_44 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-robot-state-publisher ros-humble-tf2-geometry-msgs | |
ros-humble-tf2-kdl ros-humble-tf2-eigen ros-humble-tf2-sensor-msgs | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-robot-state-publisher ros-humble-tf2-geometry-msgs ros-humble-tf2-kdl | |
ros-humble-tf2-eigen ros-humble-tf2-sensor-msgs | |
stage_27_job_46: | |
name: ros-testing rosbag2-cpp ros2run ros2param control-toolbox | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_26_job_42 | |
- stage_26_job_43 | |
- stage_26_job_44 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ros-testing ros-humble-rosbag2-cpp ros-humble-ros2run | |
ros-humble-ros2param ros-humble-control-toolbox | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ros-testing ros-humble-rosbag2-cpp ros-humble-ros2run | |
ros-humble-ros2param ros-humble-control-toolbox | |
stage_27_job_47: | |
name: ros2launch ros2lifecycle tf2-bullet | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_26_job_42 | |
- stage_26_job_43 | |
- stage_26_job_44 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ros2launch ros-humble-ros2lifecycle ros-humble-tf2-bullet | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ros2launch ros-humble-ros2lifecycle ros-humble-tf2-bullet | |
stage_28_job_48: | |
name: rosbag2-compression controller-manager sros2 ros2component geometry2 | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_27_job_45 | |
- stage_27_job_46 | |
- stage_27_job_47 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rosbag2-compression ros-humble-controller-manager | |
ros-humble-sros2 ros-humble-ros2component ros-humble-geometry2 | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rosbag2-compression ros-humble-controller-manager ros-humble-sros2 | |
ros-humble-ros2component ros-humble-geometry2 | |
stage_29_job_49: | |
name: rosbag2-compression-zstd forward-command-controller steering-controllers-library | |
joint-trajectory-controller tricycle-controller | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_28_job_48 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rosbag2-compression-zstd ros-humble-forward-command-controller | |
ros-humble-steering-controllers-library ros-humble-joint-trajectory-controller | |
ros-humble-tricycle-controller | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rosbag2-compression-zstd ros-humble-forward-command-controller | |
ros-humble-steering-controllers-library ros-humble-joint-trajectory-controller | |
ros-humble-tricycle-controller | |
stage_29_job_50: | |
name: range-sensor-broadcaster joint-state-broadcaster imu-sensor-broadcaster | |
force-torque-sensor-broadcaster diff-drive-controller | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_28_job_48 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-range-sensor-broadcaster ros-humble-joint-state-broadcaster | |
ros-humble-imu-sensor-broadcaster ros-humble-force-torque-sensor-broadcaster | |
ros-humble-diff-drive-controller | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-range-sensor-broadcaster ros-humble-joint-state-broadcaster | |
ros-humble-imu-sensor-broadcaster ros-humble-force-torque-sensor-broadcaster | |
ros-humble-diff-drive-controller | |
stage_29_job_51: | |
name: ros2controlcli sros2-cmake ros2cli-common-extensions | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_28_job_48 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-ros2controlcli ros-humble-sros2-cmake ros-humble-ros2cli-common-extensions | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ros2controlcli ros-humble-sros2-cmake ros-humble-ros2cli-common-extensions | |
stage_30_job_52: | |
name: rosbag2-transport velocity-controllers tricycle-steering-controller position-controllers | |
effort-controllers | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_29_job_49 | |
- stage_29_job_50 | |
- stage_29_job_51 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rosbag2-transport ros-humble-velocity-controllers | |
ros-humble-tricycle-steering-controller ros-humble-position-controllers | |
ros-humble-effort-controllers | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rosbag2-transport ros-humble-velocity-controllers ros-humble-tricycle-steering-controller | |
ros-humble-position-controllers ros-humble-effort-controllers | |
stage_30_job_53: | |
name: bicycle-steering-controller admittance-controller ackermann-steering-controller | |
ros2-control ros-core | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_29_job_49 | |
- stage_29_job_50 | |
- stage_29_job_51 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-bicycle-steering-controller ros-humble-admittance-controller | |
ros-humble-ackermann-steering-controller ros-humble-ros2-control ros-humble-ros-core | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-bicycle-steering-controller ros-humble-admittance-controller | |
ros-humble-ackermann-steering-controller ros-humble-ros2-control ros-humble-ros-core | |
stage_31_job_54: | |
name: rosbag2-py ros2-controllers ros2bag rosbag2-tests | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_30_job_52 | |
- stage_30_job_53 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rosbag2-py ros-humble-ros2-controllers ros-humble-ros2bag | |
ros-humble-rosbag2-tests | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rosbag2-py ros-humble-ros2-controllers ros-humble-ros2bag | |
ros-humble-rosbag2-tests | |
stage_32_job_55: | |
name: rosbag2 ros-base | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_31_job_54 | |
env: | |
CONDA_BLD_PATH: C:\\bld\\ | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: 'true' | |
channel-priority: 'true' | |
python-version: '3.11' | |
activate-environment: test | |
- run: mamba install -c conda-forge -n base --yes --quiet conda-build=3.27 pip | |
mamba ruamel.yaml anaconda-client boa | |
name: Install conda-build, boa and activate environment | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 2 cores available on Appveyor workers: https://www.appveyor.com/docs/build-environment/#build-vm-configurations | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=2 | |
set PYTHONUNBUFFERED=1 | |
conda config --set show_channel_urls true | |
conda config --set auto_update_conda false | |
conda config --set add_pip_as_python_dependency false | |
call setup_x64 | |
:: Set the conda-build working directory to a smaller path | |
if "%CONDA_BLD_PATH%" == "" ( | |
set "CONDA_BLD_PATH=C:\\bld\\" | |
) | |
:: Remove some directories from PATH | |
set "PATH=%PATH:C:\\ProgramData\\Chocolatey\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\sbt\\bin;=%" | |
set "PATH=%PATH:C:\\Rust\\.cargo\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\usr\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\cmd;=%" | |
set "PATH=%PATH:C:\\Program Files\\Git\\mingw64\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files (x86)\\Subversion\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\CMake\\bin;=%" | |
set "PATH=%PATH:C:\\Program Files\\OpenSSL\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\c\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\bin;=%" | |
set "PATH=%PATH:C:\\Strawberry\\perl\\site\\bin;=%" | |
set "PATH=%PATH:c:\\tools\\php;=%" | |
:: On azure, there are libcrypto*.dll & libssl*.dll under | |
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder). | |
:: They would be found before the openssl libs of the conda environment, so we delete them. | |
if defined CI ( | |
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll) | |
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll) | |
) | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
mkdir "%CONDA%\\etc\\conda\\activate.d" | |
echo set "CONDA_BLD_PATH=%CONDA_BLD_PATH%" > "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "CPU_COUNT=%CPU_COUNT%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PYTHONUNBUFFERED=%PYTHONUNBUFFERED%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
echo set "PATH=%PATH%" >> "%CONDA%\\etc\\conda\\activate.d\\conda-forge-ci-setup-activate.bat" | |
conda info | |
conda config --show-sources | |
conda list --show-channel-urls | |
name: conda-forge build setup | |
- shell: cmd | |
run: | | |
setlocal EnableExtensions EnableDelayedExpansion | |
call %CONDA%\condabin\conda_hook.bat | |
call %CONDA%\condabin\conda.bat activate base | |
set "PATH=%PATH:C:\ProgramData\Chocolatey\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\sbt\bin;=%" | |
set "PATH=%PATH:C:\Rust\.cargo\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%" | |
set "PATH=%PATH:C:\Program Files\Git\cmd;=%" | |
set "PATH=%PATH:C:\Program Files\Git\mingw64\bin;=%" | |
set "PATH=%PATH:C:\Program Files (x86)\Subversion\bin;=%" | |
set "PATH=%PATH:C:\Program Files\CMake\bin;=%" | |
set "PATH=%PATH:C:\Program Files\OpenSSL\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\c\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\bin;=%" | |
set "PATH=%PATH:C:\Strawberry\perl\site\bin;=%" | |
set "PATH=%PATH:c:\tools\php;=%" | |
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage | |
set "PATH=%PATH:ostedtoolcache=%" | |
echo "PATH is %PATH%" | |
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" | |
rmdir /Q/S C:\Strawberry\ | |
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\" | |
set "FEEDSTOCK_ROOT=%cd%" | |
mkdir %CONDA_BLD_PATH% | |
call conda index %CONDA_BLD_PATH% | |
rem call conda config --remove channels defaults | |
call conda config --add channels conda-forge | |
call conda config --add channels robostack-staging | |
call conda config --add channels %CONDA_BLD_PATH% | |
:: call conda config --set channel_priority strict | |
:: Enable long path names on Windows | |
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f | |
:: conda remove --force m2-git | |
for %%X in (%CURRENT_RECIPES%) do ( | |
echo "BUILDING RECIPE %%X" | |
cd %FEEDSTOCK_ROOT%\recipes\%%X\ | |
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml | |
if errorlevel 1 exit 1 | |
) | |
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force | |
if errorlevel 1 exit 1 | |
env: | |
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} | |
CURRENT_RECIPES: ros-humble-rosbag2 ros-humble-ros-base | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-rosbag2 ros-humble-ros-base | |
name: build_win | |
on: | |
push: | |
branches: | |
- buildbranch_win |