Skip to content

Commit ce285c7

Browse files
committed
add vinca win
1 parent e8b9523 commit ce285c7

File tree

2 files changed

+46
-14
lines changed

2 files changed

+46
-14
lines changed

.scripts/build_win.bat

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,29 @@
11
setlocal EnableExtensions EnableDelayedExpansion
2-
call %CONDA%\condabin\conda_hook.bat
3-
call %CONDA%\condabin\conda.bat activate base
42

3+
set CONDA_BLD_PATH=C:\bld
54
echo "PATH is %PATH%"
6-
echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%"
75

86
rmdir /Q/S C:\Strawberry\
97
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\"
108

119
set "FEEDSTOCK_ROOT=%cd%"
1210

1311
mkdir %CONDA_BLD_PATH%
14-
call conda index %CONDA_BLD_PATH%
15-
16-
rem call conda config --remove channels defaults
17-
call conda config --add channels conda-forge
18-
call conda config --add channels robostack-staging
19-
call conda config --add channels %CONDA_BLD_PATH%
20-
:: call conda config --set channel_priority strict
2112

2213
:: Enable long path names on Windows
2314
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f
2415

25-
:: conda remove --force m2-git
26-
2716
for %%X in (%CURRENT_RECIPES%) do (
2817
echo "BUILDING RECIPE %%X"
2918
cd %FEEDSTOCK_ROOT%\recipes\%%X\
30-
boa build . -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml -m %FEEDSTOCK_ROOT%\conda_build_config.yaml
19+
pixi run rattler-build build --recipe %FEEDSTOCK_ROOT%\recipes\%%X\ ^
20+
-m %FEEDSTOCK_ROOT%\conda_build_config.yaml ^
21+
-c robostack-jazzy -c conda-forge ^
22+
--output-dir %CONDA_BLD_PATH%
23+
3124
if errorlevel 1 exit 1
25+
rem -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml
3226
)
3327

34-
anaconda -t %ANACONDA_API_TOKEN% upload "C:\bld\win-64\*.tar.bz2" --force
28+
pixi run upload "%CONDA_BLD_PATH%\win-64\*.conda" --force
3529
if errorlevel 1 exit 1

vinca_win.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
ros_distro: jazzy
2+
3+
# mapping for package keys
4+
conda_index:
5+
- robostack.yaml
6+
- packages-ignore.yaml
7+
8+
build_number: 0
9+
10+
mutex_package: ros2-distro-mutex 0.5 jazzy
11+
12+
skip_all_deps: false
13+
14+
# If full rebuild, the build number of the existing package has
15+
# to match the selected build number for skipping
16+
full_rebuild: true
17+
18+
packages_skip_by_deps:
19+
- cartographer
20+
- octomap
21+
22+
packages_remove_from_deps:
23+
- cartographer
24+
- octomap
25+
- warehouse_ros_mongo
26+
27+
skip_existing:
28+
- https://conda.anaconda.org/robostack-jazzy/
29+
30+
packages_select_by_deps:
31+
- ros_workspace
32+
- ros_environment
33+
- ros_base
34+
# - desktop
35+
36+
37+
patch_dir: patch
38+

0 commit comments

Comments
 (0)