File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 75
75
RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION : " true"
76
76
RATTLER_BUILD_COLOR : " always"
77
77
run : |
78
- pixi run build-recipe --recipe recipe/${{ matrix.bins.bin }}.yaml --target-platform= ${{ env.TARGET_PLATFORM }}
78
+ pixi run build-recipe-ci $RUNNER_TEMP recipe/${{ matrix.bins.bin }}.yaml ${{ env.TARGET_PLATFORM }}
79
79
- name : Upload OSX or Linux packages
80
80
shell : bash
81
81
if : ${{ startsWith(github.ref, 'refs/tags') && matrix.bins.os != 'windows-latest' && github.repository == env.REPO_NAME }}
Original file line number Diff line number Diff line change @@ -60,8 +60,19 @@ ruff = ">=0.5.7,<0.6"
60
60
[feature .build .dependencies ]
61
61
rattler-build = " >=0.30.0,<1"
62
62
63
- [feature .build .tasks ]
64
- build-recipe = " rattler-build build --output-dir=$RUNNER_TEMP --experimental --test native"
63
+ [feature .build .tasks .build-recipe-ci ]
64
+ cmd = " rattler-build build --test native --output-dir={{ output_dir }} --recipe {{ recipe }} --target-platform {{ target_platform }}"
65
+ args = [" output_dir" , " recipe" , " target_platform" ]
66
+
67
+ [feature .build .tasks .build-recipe ]
68
+ depends-on = [
69
+ { task = " build-recipe-ci" , args = [
70
+ " ./output" ,
71
+ " {{ recipe }}" ,
72
+ " {{ target_platform }}" ,
73
+ ] },
74
+ ]
75
+ args = [" recipe" , " target_platform" ]
65
76
66
77
[feature .schema .tasks ]
67
78
generate-schema = " python schema/model.py > schema/schema.json"
You can’t perform that action at this time.
0 commit comments