Skip to content

Commit 502ae3e

Browse files
Sync noetic/humble
1 parent 0880d47 commit 502ae3e

File tree

1 file changed

+28
-16
lines changed

1 file changed

+28
-16
lines changed

.github/workflows/testpr.yml

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
on:
2-
pull_request
2+
pull_request:
3+
paths:
4+
- '*.yaml'
35

46
env:
57
ROS_VERSION: 2
@@ -10,7 +12,7 @@ jobs:
1012
strategy:
1113
fail-fast: false
1214
matrix:
13-
os: [ubuntu-latest, macos-latest, windows-2019]
15+
os: [ubuntu-latest, macos-latest, macos-14, windows-2019]
1416
platform: [linux-64, linux-aarch64, osx-64, win-64, osx-arm64]
1517
exclude:
1618
- os: ubuntu-latest
@@ -19,10 +21,20 @@ jobs:
1921
platform: osx-64
2022
- os: ubuntu-latest
2123
platform: osx-arm64
24+
- os: macos-14
25+
platform: linux-64
26+
- os: macos-14
27+
platform: linux-aarch64
28+
- os: macos-14
29+
platform: osx-64
30+
- os: macos-14
31+
platform: win-64
2232
- os: macos-latest
2333
platform: linux-64
2434
- os: macos-latest
2535
platform: linux-aarch64
36+
- os: macos-latest
37+
platform: osx-arm64
2638
- os: macos-latest
2739
platform: win-64
2840
- os: windows-2019
@@ -75,7 +87,7 @@ jobs:
7587
conda info
7688
conda config --show
7789
micromamba install -y pip rospkg networkx "catkin_pkg>=0.4.16" "ruamel.yaml>=0.16.6" "rosdistro>=0.8.0" "empy>=3.3.4" boa
78-
- name: install vinca and boa master
90+
- name: install vinca
7991
shell: bash -l {0}
8092
run: |
8193
# use no-deps for now, otherwise problems with ruamel.
@@ -105,7 +117,7 @@ jobs:
105117
echo "::set-output name=OSX_ARM_YAML_CHANGED::${?}"
106118
git diff --exit-code --name-only origin/main -- vinca_win.yaml > /dev/null
107119
echo "::set-output name=WIN_YAML_CHANGED::${?}"
108-
- name: Generate recipes for Linux
120+
- name: Generate recipes for linux-64
109121
shell: bash -l {0}
110122
if: steps.filecheck.outputs.LINUX_YAML_CHANGED == 1 && matrix.os == 'ubuntu-latest' && matrix.platform == 'linux-64'
111123
run: |
@@ -114,7 +126,7 @@ jobs:
114126
vinca --platform linux-64
115127
ls
116128
cat recipe.yaml
117-
- name: Generate recipes for Linux-ARM64
129+
- name: Generate recipes for linux-aarch64
118130
shell: bash -l {0}
119131
if: steps.filecheck.outputs.LINUX_AARCH_YAML_CHANGED == 1 && matrix.os == 'ubuntu-latest' && matrix.platform == 'linux-aarch64'
120132
run: |
@@ -123,7 +135,7 @@ jobs:
123135
vinca --platform linux-aarch64
124136
ls
125137
cat recipe.yaml
126-
- name: Generate recipes for macOS
138+
- name: Generate recipes for osx-64
127139
shell: bash -l {0}
128140
if: steps.filecheck.outputs.OSX_YAML_CHANGED == 1 && matrix.os == 'macos-latest' && matrix.platform == 'osx-64'
129141
run: |
@@ -132,16 +144,16 @@ jobs:
132144
vinca --platform osx-64
133145
ls
134146
cat recipe.yaml
135-
- name: Generate recipes for macOS-ARM64
147+
- name: Generate recipes for osx-arm64
136148
shell: bash -l {0}
137-
if: steps.filecheck.outputs.OSX_ARM_YAML_CHANGED == 1 && matrix.os == 'macos-latest' && matrix.platform == 'osx-arm64'
149+
if: steps.filecheck.outputs.OSX_ARM_YAML_CHANGED == 1 && matrix.os == 'macos-14' && matrix.platform == 'osx-arm64'
138150
run: |
139151
git clean -fdx
140152
cp vinca_osx_arm64.yaml vinca.yaml
141153
vinca --platform osx-arm64
142154
ls
143155
cat recipe.yaml
144-
- name: Generate recipes for Windows
156+
- name: Generate recipes for win-64
145157
shell: bash -l {0}
146158
if: steps.filecheck.outputs.WIN_YAML_CHANGED == 1 && matrix.os == 'windows-2019' && matrix.platform == 'win-64'
147159
run: |
@@ -158,31 +170,31 @@ jobs:
158170
set +e
159171
grep -q "outputs: \[\]" recipe.yaml > /dev/null
160172
echo "::set-output name=RECIPE_CREATED::${?}"
161-
- name: Build recipes for Linux
173+
- name: Build recipes for linux-64
162174
shell: bash -l {0}
163175
run: |
164176
boa build additional_recipes/ros2-distro-mutex/ -m ./.ci_support/conda_forge_pinnings.yaml -m ./conda_build_config.yaml
165177
boa build . -m ./.ci_support/conda_forge_pinnings.yaml -m ./conda_build_config.yaml
166178
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.LINUX_YAML_CHANGED == 1 && matrix.os == 'ubuntu-latest' && matrix.platform == 'linux-64'
167-
- name: Build recipes for Linux-ARM64
179+
- name: Build recipes for linux-aarch64
168180
shell: bash -l {0}
169181
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.LINUX_AARCH_YAML_CHANGED == 1 && matrix.os == 'ubuntu-latest' && matrix.platform == 'linux-aarch64'
170182
run: |
171183
boa build additional_recipes/ros2-distro-mutex/ -m ./.ci_support/conda_forge_pinnings.yaml -m ./conda_build_config.yaml --target-platform=linux-aarch64
172184
boa build . -m ./.ci_support/conda_forge_pinnings.yaml -m ./conda_build_config.yaml --target-platform=linux-aarch64
173-
- name: Build recipes for macOS
185+
- name: Build recipes for osx-64
174186
shell: bash -l {0}
175187
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.OSX_YAML_CHANGED == 1 && matrix.os == 'macos-latest' && matrix.platform == 'osx-64'
176188
run: |
177189
boa build additional_recipes/ros2-distro-mutex/ -m ./.ci_support/conda_forge_pinnings.yaml -m ./conda_build_config.yaml
178190
boa build . -m ./.ci_support/conda_forge_pinnings.yaml -m ./conda_build_config.yaml
179-
- name: Build recipes for macOS-ARM64
191+
- name: Build recipes for osx-arm64
180192
shell: bash -l {0}
181-
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.OSX_ARM_YAML_CHANGED == 1 && matrix.os == 'macos-latest' && matrix.platform == 'osx-arm64'
193+
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.OSX_ARM_YAML_CHANGED == 1 && matrix.os == 'macos-14' && matrix.platform == 'osx-arm64'
182194
run: |
183195
boa build additional_recipes/ros2-distro-mutex/ -m ./.ci_support/conda_forge_pinnings.yaml -m ./conda_build_config.yaml --target-platform=osx-arm64
184-
boa build . -m ./.ci_support/conda_forge_pinnings.yaml -m ./conda_build_config.yaml --target-platform=osx-arm64
185-
- name: Build recipes for Windows
196+
boa build . -m ./.ci_support/conda_forge_pinnings.yaml -m ./conda_build_config.yaml
197+
- name: Build recipes for win-64
186198
shell: bash -l {0}
187199
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.WIN_YAML_CHANGED == 1 && matrix.os == 'windows-2019' && matrix.platform == 'win-64'
188200
run: |

0 commit comments

Comments
 (0)