@@ -54,94 +54,32 @@ jobs:
5454 rm -rf /c/Strawberry
5555 rm -rf "/c/Program Files (x86)/Windows Kits/10/Include/10.0.17763.0/"
5656
57-
5857 # Regression for https://github.com/RoboStack/ros-jazzy/issues/44
5958 - name : Check that anaconda-client command works fine
6059 shell : bash -l {0}
6160 run : |
6261 pixi run anaconda --version
6362
64- - name : Generate recipes for linux-64
65- shell : bash -l {0}
66- if : matrix.platform == 'linux-64'
67- run : |
68- mkdir -p recipes
69- $HOME/.pixi/bin/pixi run -v vinca --platform linux-64 -m -n
70- ls -la recipes
71- - name : Generate recipes for linux-aarch64
72- shell : bash -l {0}
73- if : matrix.platform == 'linux-aarch64'
74- run : |
75- mkdir -p recipes
76- $HOME/.pixi/bin/pixi run -v vinca --platform linux-aarch64 -m -n
77- ls -la recipes
78- - name : Generate recipes for osx-64
79- shell : bash -l {0}
80- if : matrix.platform == 'osx-64'
81- run : |
82- mkdir -p recipes
83- $HOME/.pixi/bin/pixi run -v vinca --platform osx-64 -m -n
84- ls -la recipes
85- - name : Generate recipes for osx-arm64
86- shell : bash -l {0}
87- if : matrix.platform == 'osx-arm64'
88- run : |
89- mkdir -p recipes
90- $HOME/.pixi/bin/pixi run -v vinca --platform osx-arm64 -m -n
91- ls -la recipes
92- - name : Generate recipes for win-64
63+ - name : Long paths workarounds for win-64
9364 shell : bash -l {0}
9465 if : matrix.platform == 'win-64'
9566 run : |
9667 # Workaround for problem related to long paths
9768 echo "CONDA_BLD_PATH=C:\\bld\\" >> $GITHUB_ENV
9869 mkdir /c/bld
99- mkdir -p recipes
100- $HOME/.pixi/bin/pixi run -v vinca --platform win-64 -m -n
101- ls -la recipes
102- - name : Check if there are packages to be built
103- id : newrecipecheck
104- shell : bash -l {0}
105- run : |
106- # Workaround for https://github.com/prefix-dev/rattler-build/issues/1535
107- set +e
108- if [ ! -d recipes ] || [ -z "$(ls -A recipes)" ]; then
109- echo "RECIPE_CREATED=0" >> $GITHUB_OUTPUT
110- else
111- echo "RECIPE_CREATED=1" >> $GITHUB_OUTPUT
112- fi
113- - name : Build recipes for linux-64
114- shell : bash -l {0}
115- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'linux-64'
116- run : |
117- env -i $HOME/.pixi/bin/pixi run python check_patches_clean_apply.py
118- # env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir additional_recipes --target-platform linux-64 -m ./conda_build_config.yaml -c robostack-kilted -c conda-forge --skip-existing
119- env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir recipes --target-platform linux-64 -m ./conda_build_config.yaml -c robostack-kilted -c conda-forge --skip-existing
120- - name : Build recipes for linux-aarch64
121- shell : bash -l {0}
122- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'linux-aarch64'
123- run : |
124- env -i $HOME/.pixi/bin/pixi run python check_patches_clean_apply.py
125- # env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir additional_recipes --target-platform linux-aarch64 -m ./conda_build_config.yaml -c robostack-kilted -c conda-forge --skip-existing
126- env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir recipes --target-platform linux-aarch64 -m ./conda_build_config.yaml -c robostack-kilted -c conda-forge --skip-existing
127- - name : Build recipes for osx-64
70+
71+ - name : Generate recipes
12872 shell : bash -l {0}
129- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'osx-64'
13073 run : |
131- env -i $HOME/.pixi/bin/pixi run python check_patches_clean_apply.py
132- # env -i $HOME/. pixi/bin/pixi run rattler-build build --recipe-dir additional_recipes --target- platform osx-64 -m ./conda_build_config.yaml -c robostack-kilted -c conda-forge --skip-existing
133- env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir recipes --target-platform osx-64 -m ./conda_build_config.yaml -c robostack-kilted -c conda-forge --skip-existing
134- - name : Build recipes for osx-arm64
74+ mkdir -p recipes
75+ pixi run -v vinca --platform ${{ matrix. platform }} -m -n
76+
77+ - name : Check patches
13578 shell : bash -l {0}
136- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'osx-arm64'
13779 run : |
138- env -i $HOME/.pixi/bin/pixi run python check_patches_clean_apply.py
139- # env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir additional_recipes --target-platform osx-arm64 -m ./conda_build_config.yaml -c robostack-kilted -c conda-forge --skip-existing
140- env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir recipes --target-platform osx-arm64 -m ./conda_build_config.yaml -c robostack-kilted -c conda-forge --skip-existing
141- - name : Build recipes for win-64
80+ pixi run python check_patches_clean_apply.py
81+
82+ - name : Build recipes
14283 shell : bash -l {0}
143- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'win-64'
14484 run : |
145- $HOME/.pixi/bin/pixi run python check_patches_clean_apply.py
146- # $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir additional_recipes --target-platform win-64 -m ./conda_build_config.yaml -c robostack-kilted -c conda-forge --skip-existing
147- $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir recipes --target-platform win-64 -m ./conda_build_config.yaml -c robostack-kilted -c conda-forge --skip-existing
85+ pixi run rattler-build build --recipe-dir recipes --target-platform ${{ matrix.platform }} -m ./conda_build_config.yaml -c robostack-kilted -c conda-forge --skip-existing
0 commit comments