File tree 4 files changed +44
-78
lines changed
4 files changed +44
-78
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # Default values
4
+ target=" "
5
+
6
+ # Parse arguments
7
+ while [[ " $# " -gt 0 ]]; do
8
+ case $1 in
9
+ --target) target=" $2 " ; shift ;; # Capture value for --target
10
+ * ) echo " Unknown parameter passed: $1 " ; exit 1 ;; # Handle invalid options
11
+ esac
12
+ shift
13
+ done
14
+
15
+ set -xeuo pipefail
16
+ export PYTHONUNBUFFERED=1
17
+
18
+ export FEEDSTOCK_ROOT=` pwd`
19
+ export " CONDA_BLD_PATH=$HOME /conda-bld/"
20
+
21
+ curl -fsSL https://pixi.sh/install.sh | bash
22
+ export PATH=" $HOME /.pixi/bin:$PATH "
23
+
24
+ if [[ " $target " == * " osx" * ]]; then
25
+ echo " osx"
26
+ export PATH=$( echo $PATH | tr " :" " \n" | grep -v ' homebrew' | xargs | tr ' ' ' :' )
27
+ fi
28
+
29
+ extra_channel=" "
30
+ cross_compile=" "
31
+
32
+ for recipe in ${CURRENT_RECIPES[@]} ; do
33
+ pixi run -v rattler-build build \
34
+ --recipe ${FEEDSTOCK_ROOT} /recipes/${recipe} \
35
+ -m ${FEEDSTOCK_ROOT} /conda_build_config.yaml \
36
+ -c robostack-staging -c conda-forge \
37
+ ${extra_channel} \
38
+ --output-dir $CONDA_BLD_PATH \
39
+ ${cross_compile}
40
+ # -m ${FEEDSTOCK_ROOT}/.ci_support/conda_forge_pinnings.yaml \
41
+
42
+ done
43
+
44
+ pixi run upload ${CONDA_BLD_PATH} /${target} * /* .conda --force
You can’t perform that action at this time.
0 commit comments