|
1 | 1 | setlocal EnableExtensions EnableDelayedExpansion
|
2 |
| -call %CONDA%\condabin\conda_hook.bat |
3 |
| -call %CONDA%\condabin\conda.bat activate base |
4 | 2 |
|
| 3 | +set CONDA_BLD_PATH=C:\bld |
5 | 4 | echo "PATH is %PATH%"
|
6 |
| -echo "CONDA_BLD_PATH is %CONDA_BLD_PATH%" |
7 | 5 |
|
8 | 6 | rmdir /Q/S C:\Strawberry\
|
9 | 7 | rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\"
|
10 | 8 |
|
11 | 9 | set "FEEDSTOCK_ROOT=%cd%"
|
12 | 10 |
|
13 | 11 | 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 |
21 | 12 |
|
22 | 13 | :: Enable long path names on Windows
|
23 | 14 | reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f
|
24 | 15 |
|
25 |
| -:: conda remove --force m2-git |
26 |
| - |
27 | 16 | for %%X in (%CURRENT_RECIPES%) do (
|
28 | 17 | echo "BUILDING RECIPE %%X"
|
29 | 18 | 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 | + |
31 | 24 | if errorlevel 1 exit 1
|
| 25 | + rem -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml |
32 | 26 | )
|
33 | 27 |
|
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 |
35 | 29 | if errorlevel 1 exit 1
|
0 commit comments