Add build files 2024-02-26-0145 #223
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: robot-state-publisher tf2-geometry-msgs tf2-kdl tf2-eigen tf2-sensor-msgs | |
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 | |
- uses: egor-tensin/cleanup-path@v4 | |
with: | |
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program | |
Files\Git\mingw64\bin | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=4 | |
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\\" | |
) | |
:: 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 | |
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_0_job_1: | |
name: ros-testing rosbag2-cpp ros2run ros2param control-toolbox | |
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 | |
- uses: egor-tensin/cleanup-path@v4 | |
with: | |
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program | |
Files\Git\mingw64\bin | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=4 | |
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\\" | |
) | |
:: 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 | |
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_0_job_2: | |
name: kinematics-interface-kdl ros2launch ros2lifecycle ros2interface ros2doctor | |
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 | |
- uses: egor-tensin/cleanup-path@v4 | |
with: | |
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program | |
Files\Git\mingw64\bin | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=4 | |
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\\" | |
) | |
:: 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 | |
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-kinematics-interface-kdl ros-humble-ros2launch | |
ros-humble-ros2lifecycle ros-humble-ros2interface ros-humble-ros2doctor | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-kinematics-interface-kdl ros-humble-ros2launch ros-humble-ros2lifecycle | |
ros-humble-ros2interface ros-humble-ros2doctor | |
stage_0_job_3: | |
name: ros2action transmission-interface tf2-bullet | |
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 | |
- uses: egor-tensin/cleanup-path@v4 | |
with: | |
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program | |
Files\Git\mingw64\bin | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=4 | |
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\\" | |
) | |
:: 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 | |
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-ros2action ros-humble-transmission-interface ros-humble-tf2-bullet | |
PYTHONUNBUFFERED: 1 | |
name: Build ros-humble-ros2action ros-humble-transmission-interface ros-humble-tf2-bullet | |
stage_1_job_4: | |
name: rosbag2-compression controller-manager sros2 ros2component geometry2 | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_0_job_0 | |
- stage_0_job_1 | |
- stage_0_job_2 | |
- stage_0_job_3 | |
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 | |
- uses: egor-tensin/cleanup-path@v4 | |
with: | |
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program | |
Files\Git\mingw64\bin | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=4 | |
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\\" | |
) | |
:: 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 | |
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_2_job_5: | |
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_1_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 | |
- uses: egor-tensin/cleanup-path@v4 | |
with: | |
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program | |
Files\Git\mingw64\bin | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=4 | |
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\\" | |
) | |
:: 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 | |
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_2_job_6: | |
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_1_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 | |
- uses: egor-tensin/cleanup-path@v4 | |
with: | |
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program | |
Files\Git\mingw64\bin | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=4 | |
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\\" | |
) | |
:: 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 | |
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_2_job_7: | |
name: ros2controlcli sros2-cmake ros2cli-common-extensions | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_1_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 | |
- uses: egor-tensin/cleanup-path@v4 | |
with: | |
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program | |
Files\Git\mingw64\bin | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=4 | |
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\\" | |
) | |
:: 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 | |
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_3_job_8: | |
name: rosbag2-transport velocity-controllers tricycle-steering-controller position-controllers | |
effort-controllers | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_2_job_5 | |
- stage_2_job_6 | |
- stage_2_job_7 | |
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 | |
- uses: egor-tensin/cleanup-path@v4 | |
with: | |
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program | |
Files\Git\mingw64\bin | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=4 | |
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\\" | |
) | |
:: 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 | |
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_3_job_9: | |
name: bicycle-steering-controller admittance-controller ackermann-steering-controller | |
ros2-control ros-core | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_2_job_5 | |
- stage_2_job_6 | |
- stage_2_job_7 | |
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 | |
- uses: egor-tensin/cleanup-path@v4 | |
with: | |
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program | |
Files\Git\mingw64\bin | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=4 | |
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\\" | |
) | |
:: 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 | |
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_4_job_10: | |
name: rosbag2-py ros2-controllers ros2bag rosbag2-tests | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_3_job_8 | |
- stage_3_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 | |
- uses: egor-tensin/cleanup-path@v4 | |
with: | |
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program | |
Files\Git\mingw64\bin | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=4 | |
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\\" | |
) | |
:: 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 | |
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_5_job_11: | |
name: rosbag2 ros-base | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
needs: | |
- stage_4_job_10 | |
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 | |
- uses: egor-tensin/cleanup-path@v4 | |
with: | |
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program | |
Files\Git\mingw64\bin | |
- shell: cmd | |
run: | | |
set "CI=azure" | |
call activate base | |
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners | |
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149 | |
set CPU_COUNT=4 | |
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\\" | |
) | |
:: 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 | |
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 |