@@ -56,58 +56,41 @@ jobs:
56
56
rm -rf /c/Strawberry
57
57
rm -rf "/c/Program Files (x86)/Windows Kits/10/Include/10.0.17763.0/"
58
58
59
- - name : Check what files have changed
60
- id : filecheck
61
- shell : bash -l {0}
62
- run : |
63
- git fetch origin main
64
- # continue on error
65
- set +e
66
- git diff --exit-code --name-only origin/main -- vinca_linux_64.yaml > /dev/null
67
- echo "::set-output name=LINUX_YAML_CHANGED::${?}"
68
- git diff --exit-code --name-only origin/main -- vinca_linux_aarch64.yaml > /dev/null
69
- echo "::set-output name=LINUX_AARCH_YAML_CHANGED::${?}"
70
- git diff --exit-code --name-only origin/main -- vinca_osx.yaml > /dev/null
71
- echo "::set-output name=OSX_YAML_CHANGED::${?}"
72
- git diff --exit-code --name-only origin/main -- vinca_osx_arm64.yaml > /dev/null
73
- echo "::set-output name=OSX_ARM_YAML_CHANGED::${?}"
74
- git diff --exit-code --name-only origin/main -- vinca_win.yaml > /dev/null
75
- echo "::set-output name=WIN_YAML_CHANGED::${?}"
76
59
- name : Generate recipes for linux-64
77
60
shell : bash -l {0}
78
- if : steps.filecheck.outputs.LINUX_YAML_CHANGED == 1 && matrix.platform == 'linux-64'
61
+ if : matrix.platform == 'linux-64'
79
62
run : |
80
63
cp vinca_linux_64.yaml vinca.yaml
81
64
mkdir -p recipes
82
65
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform linux-64 -m -n
83
66
ls -la recipes
84
67
- name : Generate recipes for linux-aarch64
85
68
shell : bash -l {0}
86
- if : steps.filecheck.outputs.LINUX_AARCH_YAML_CHANGED == 1 && matrix.platform == 'linux-aarch64'
69
+ if : matrix.platform == 'linux-aarch64'
87
70
run : |
88
71
cp vinca_linux_aarch64.yaml vinca.yaml
89
72
mkdir -p recipes
90
73
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform linux-aarch64 -m -n
91
74
ls -la recipes
92
75
- name : Generate recipes for osx-64
93
76
shell : bash -l {0}
94
- if : steps.filecheck.outputs.OSX_YAML_CHANGED == 1 && matrix.platform == 'osx-64'
77
+ if : matrix.platform == 'osx-64'
95
78
run : |
96
79
cp vinca_osx.yaml vinca.yaml
97
80
mkdir -p recipes
98
81
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform osx-64 -m -n
99
82
ls -la recipes
100
83
- name : Generate recipes for osx-arm64
101
84
shell : bash -l {0}
102
- if : steps.filecheck.outputs.OSX_ARM_YAML_CHANGED == 1 && matrix.platform == 'osx-arm64'
85
+ if : matrix.platform == 'osx-arm64'
103
86
run : |
104
87
cp vinca_osx_arm64.yaml vinca.yaml
105
88
mkdir -p recipes
106
89
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform osx-arm64 -m -n
107
90
ls -la recipes
108
91
- name : Generate recipes for win-64
109
92
shell : bash -l {0}
110
- if : steps.filecheck.outputs.WIN_YAML_CHANGED == 1 && matrix.platform == 'win-64'
93
+ if : matrix.platform == 'win-64'
111
94
run : |
112
95
# Workaround for problem related to long paths
113
96
echo "CONDA_BLD_PATH=C:\\bld\\" >> $GITHUB_ENV
@@ -126,31 +109,31 @@ jobs:
126
109
echo "::set-output name=RECIPE_CREATED::${?}"
127
110
- name : Build recipes for linux-64
128
111
shell : bash -l {0}
129
- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.LINUX_YAML_CHANGED == 1 && matrix.platform == 'linux-64'
112
+ if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'linux-64'
130
113
run : |
131
114
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir additional_recipes --target-platform linux-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
132
115
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes --target-platform linux-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
133
116
- name : Build recipes for linux-aarch64
134
117
shell : bash -l {0}
135
- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.LINUX_AARCH_YAML_CHANGED == 1 && matrix.platform == 'linux-aarch64'
118
+ if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'linux-aarch64'
136
119
run : |
137
120
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir additional_recipes --target-platform linux-aarch64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
138
121
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes --target-platform linux-aarch64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
139
122
- name : Build recipes for osx-64
140
123
shell : bash -l {0}
141
- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.OSX_YAML_CHANGED == 1 && matrix.platform == 'osx-64'
124
+ if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'osx-64'
142
125
run : |
143
126
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir additional_recipes --target-platform osx-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
144
127
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes --target-platform osx-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
145
128
- name : Build recipes for osx-arm64
146
129
shell : bash -l {0}
147
- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.OSX_ARM_YAML_CHANGED == 1 && matrix.platform == 'osx-arm64'
130
+ if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'osx-arm64'
148
131
run : |
149
132
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir additional_recipes --target-platform osx-arm64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
150
133
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes --target-platform osx-arm64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
151
134
- name : Build recipes for win-64
152
135
shell : bash -l {0}
153
- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.WIN_YAML_CHANGED == 1 && matrix.platform == 'win-64'
136
+ if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'win-64'
154
137
run : |
155
138
$HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir additional_recipes --target-platform win-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
156
139
$HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes --target-platform win-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
0 commit comments