Skip to content

Commit 773f601

Browse files
committed
Use macOS 13 runner
1 parent d77da0d commit 773f601

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/build.yaml

+5-8
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
matrix:
175175
arch:
176176
- name: arm64
177-
runner: macos-14
177+
runner: macos-13
178178

179179
runs-on: ${{ matrix.arch.runner }}
180180
permissions:
@@ -201,9 +201,6 @@ jobs:
201201
echo "Applying ${patch}"
202202
patch -p1 < $patch
203203
done
204-
- uses: actions/setup-python@v5
205-
with:
206-
python-version: '3.11'
207204
- name: Bootstrap
208205
working-directory: ./connectedhomeip/
209206
run: bash scripts/bootstrap.sh -p all,darwin
@@ -219,12 +216,12 @@ jobs:
219216
chip_minmdns_default_policy=\"default\" \
220217
chip_python_version=\"${{ needs.build_prepare.outputs.version }}\" \
221218
chip_python_package_prefix=\"home-assistant-chip\" \
222-
chip_python_platform_tag=\"macosx_14_0\" \
219+
chip_python_platform_tag=\"macosx_13_0\" \
223220
"
224221
scripts/run_in_build_env.sh "ninja -C ./out chip-repl"
225222
- name: Run Python library specific unit tests
226223
run: |
227-
scripts/run_in_build_env.sh 'pip3 install ./out/controller/python/home_assistant_chip_core-${{ needs.build_prepare.outputs.version }}-cp37-abi3-macosx_14_0_${{ matrix.arch.name }}.whl'
224+
scripts/run_in_build_env.sh 'pip3 install ./out/controller/python/home_assistant_chip_core-${{ needs.build_prepare.outputs.version }}-cp37-abi3-macosx_13_0_${{ matrix.arch.name }}.whl'
228225
scripts/run_in_build_env.sh 'pip3 install ./out/controller/python/home_assistant_chip_clusters-${{ needs.build_prepare.outputs.version }}-py3-none-any.whl'
229226
scripts/run_in_build_env.sh 'pip3 install ./out/controller/python/home_assistant_chip_repl-${{ needs.build_prepare.outputs.version }}-py3-none-any.whl'
230227
scripts/run_in_build_env.sh '(cd src/controller/python/test/unit_tests/ && python3 -m unittest -v)'
@@ -246,7 +243,7 @@ jobs:
246243
TWINE_REPOSITORY: "pypi"
247244
run: |
248245
python3 -m pip install twine build
249-
python3 -m twine upload out/controller/python/home_assistant_chip_core-${{ needs.build_prepare.outputs.version }}-cp37-abi3-macosx_14_0_${{ matrix.arch.name }}.whl --skip-existing
246+
python3 -m twine upload out/controller/python/home_assistant_chip_core-${{ needs.build_prepare.outputs.version }}-cp37-abi3-macosx_13_0_${{ matrix.arch.name }}.whl --skip-existing
250247
- name: Upload wheels to Test PyPI
251248
if: ${{ github.ref == 'refs/heads/main' }}
252249
env:
@@ -255,4 +252,4 @@ jobs:
255252
TWINE_REPOSITORY: "testpypi"
256253
run: |
257254
python3 -m pip install twine build
258-
python3 -m twine upload out/controller/python/home_assistant_chip_core-${{ needs.build_prepare.outputs.version }}-cp37-abi3-macosx_14_0_${{ matrix.arch.name }}.whl --skip-existing
255+
python3 -m twine upload out/controller/python/home_assistant_chip_core-${{ needs.build_prepare.outputs.version }}-cp37-abi3-macosx_13_0_${{ matrix.arch.name }}.whl --skip-existing

0 commit comments

Comments
 (0)