8
8
9
9
jobs :
10
10
build :
11
- runs-on : ${{ matrix.os }}
12
11
strategy :
13
12
fail-fast : false
14
13
matrix :
15
- os : [ubuntu-latest, macos-13, macos-14, windows-2019]
16
- platform : [linux-64, linux-aarch64, osx-64, win-64, osx-arm64]
17
- environment : [beta]
18
- exclude :
19
- - os : ubuntu-latest
20
- platform : win-64
21
- - os : ubuntu-latest
22
- platform : osx-64
14
+ include :
23
15
- os : ubuntu-latest
24
- platform : osx-arm64
25
- - os : macos-14
26
16
platform : linux-64
27
- - os : macos-14
17
+ - os : cirun-linux-aarch64--${{ github.run_id }}
28
18
platform : linux-aarch64
29
- - os : macos-14
19
+ - os : macos-13
30
20
platform : osx-64
31
21
- os : macos-14
32
- platform : win-64
33
- - os : macos-13
34
- platform : linux-64
35
- - os : macos-13
36
- platform : linux-aarch64
37
- - os : macos-13
38
22
platform : osx-arm64
39
- - os : macos-13
40
- platform : win-64
41
- - os : windows-2019
42
- platform : linux-64
43
- - os : windows-2019
44
- platform : linux-aarch64
45
- - os : windows-2019
46
- platform : osx-64
47
23
- os : windows-2019
48
- platform : osx-arm64
24
+ platform : win-64
25
+
26
+ runs-on : ${{ matrix.os }}
27
+
49
28
steps :
50
29
- uses : actions/checkout@v4
51
30
with :
54
33
55
34
-
uses :
prefix-dev/[email protected]
56
35
with :
57
- environments : ${{ matrix.environment }}
36
+ environments : beta
58
37
frozen : true
59
38
60
39
# Workaround for https://github.com/RoboStack/ros-humble/pull/141#issuecomment-1941919816
@@ -66,14 +45,14 @@ jobs:
66
45
# git in C:\Program Files\Git\bin is used by pip install git+
67
46
dirs : ' C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin'
68
47
69
- - shell : bash -l {0}
70
- if : matrix.platform == 'linux-aarch64'
71
- run : |
72
- echo "::group::Configure binfmt_misc"
73
- docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
74
- export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
75
- export GIT_BRANCH="$(basename $GITHUB_REF)"
76
- echo "::endgroup::"
48
+ # - shell: bash -l {0}
49
+ # if: matrix.platform == 'linux-aarch64'
50
+ # run: |
51
+ # echo "::group::Configure binfmt_misc"
52
+ # docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
53
+ # export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
54
+ # export GIT_BRANCH="$(basename $GITHUB_REF)"
55
+ # echo "::endgroup::"
77
56
78
57
- name : Install libgl1-mesa-dev (only for linux-aarch64)
79
58
if : matrix.platform == 'linux-aarch64'
@@ -111,39 +90,39 @@ jobs:
111
90
echo "::set-output name=WIN_YAML_CHANGED::${?}"
112
91
- name : Generate recipes for linux-64
113
92
shell : bash -l {0}
114
- if : steps.filecheck.outputs.LINUX_YAML_CHANGED == 1 && matrix.os == 'ubuntu-latest' && matrix. platform == 'linux-64'
93
+ if : steps.filecheck.outputs.LINUX_YAML_CHANGED == 1 && matrix.platform == 'linux-64'
115
94
run : |
116
95
cp vinca_linux_64.yaml vinca.yaml
117
96
mkdir -p recipes
118
97
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform linux-64 -m -n
119
98
ls -la recipes
120
99
- name : Generate recipes for linux-aarch64
121
100
shell : bash -l {0}
122
- if : steps.filecheck.outputs.LINUX_AARCH_YAML_CHANGED == 1 && matrix.os == 'ubuntu-latest' && matrix. platform == 'linux-aarch64'
101
+ if : steps.filecheck.outputs.LINUX_AARCH_YAML_CHANGED == 1 && matrix.platform == 'linux-aarch64'
123
102
run : |
124
103
cp vinca_linux_aarch64.yaml vinca.yaml
125
104
mkdir -p recipes
126
105
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform linux-aarch64 -m -n
127
106
ls -la recipes
128
107
- name : Generate recipes for osx-64
129
108
shell : bash -l {0}
130
- if : steps.filecheck.outputs.OSX_YAML_CHANGED == 1 && matrix.os == 'macos-13' && matrix. platform == 'osx-64'
109
+ if : steps.filecheck.outputs.OSX_YAML_CHANGED == 1 && matrix.platform == 'osx-64'
131
110
run : |
132
111
cp vinca_osx.yaml vinca.yaml
133
112
mkdir -p recipes
134
113
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform osx-64 -m -n
135
114
ls -la recipes
136
115
- name : Generate recipes for osx-arm64
137
116
shell : bash -l {0}
138
- if : steps.filecheck.outputs.OSX_ARM_YAML_CHANGED == 1 && matrix.os == 'macos-14' && matrix. platform == 'osx-arm64'
117
+ if : steps.filecheck.outputs.OSX_ARM_YAML_CHANGED == 1 && matrix.platform == 'osx-arm64'
139
118
run : |
140
119
cp vinca_osx_arm64.yaml vinca.yaml
141
120
mkdir -p recipes
142
121
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform osx-arm64 -m -n
143
122
ls -la recipes
144
123
- name : Generate recipes for win-64
145
124
shell : bash -l {0}
146
- if : steps.filecheck.outputs.WIN_YAML_CHANGED == 1 && matrix.os == 'windows-2019' && matrix. platform == 'win-64'
125
+ if : steps.filecheck.outputs.WIN_YAML_CHANGED == 1 && matrix.platform == 'win-64'
147
126
run : |
148
127
# Workaround for problem related to long paths
149
128
echo "CONDA_BLD_PATH=C:\\bld\\" >> $GITHUB_ENV
@@ -162,31 +141,31 @@ jobs:
162
141
echo "::set-output name=RECIPE_CREATED::${?}"
163
142
- name : Build recipes for linux-64
164
143
shell : bash -l {0}
165
- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.LINUX_YAML_CHANGED == 1 && matrix.os == 'ubuntu-latest' && matrix. platform == 'linux-64'
144
+ if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.LINUX_YAML_CHANGED == 1 && matrix.platform == 'linux-64'
166
145
run : |
167
146
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
168
147
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
169
148
- name : Build recipes for linux-aarch64
170
149
shell : bash -l {0}
171
- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.LINUX_AARCH_YAML_CHANGED == 1 && matrix.os == 'ubuntu-latest' && matrix. platform == 'linux-aarch64'
150
+ if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.LINUX_AARCH_YAML_CHANGED == 1 && matrix.platform == 'linux-aarch64'
172
151
run : |
173
152
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
174
153
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
175
154
- name : Build recipes for osx-64
176
155
shell : bash -l {0}
177
- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.OSX_YAML_CHANGED == 1 && matrix.os == 'macos-13' && matrix. platform == 'osx-64'
156
+ if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.OSX_YAML_CHANGED == 1 && matrix.platform == 'osx-64'
178
157
run : |
179
158
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
180
159
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
181
160
- name : Build recipes for osx-arm64
182
161
shell : bash -l {0}
183
- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.OSX_ARM_YAML_CHANGED == 1 && matrix.os == 'macos-14' && matrix. platform == 'osx-arm64'
162
+ if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.OSX_ARM_YAML_CHANGED == 1 && matrix.platform == 'osx-arm64'
184
163
run : |
185
164
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
186
165
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
187
166
- name : Build recipes for win-64
188
167
shell : bash -l {0}
189
- if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.WIN_YAML_CHANGED == 1 && matrix.os == 'windows-2019' && matrix. platform == 'win-64'
168
+ if : steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.WIN_YAML_CHANGED == 1 && matrix.platform == 'win-64'
190
169
run : |
191
170
$HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir additional_recipes --target-platform win64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
192
171
$HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes --target-platform win64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
0 commit comments