Skip to content

Commit 38f31f5

Browse files
SeaOtocinclusmeta-codesync[bot]
authored andcommitted
{Build} GitHub CI - deprecate macos-13 runners (#314)
Summary: Pull Request resolved: #314 Pull Request resolved: #313 Following deprecation of the macos-13 github runner image -- we are removing here path calling it (see actions/runner-images#13046) Reviewed By: kongchen1992 Differential Revision: D88912666 fbshipit-source-id: cd74cca15abae4dece9062154b657977776774d0
1 parent a18954d commit 38f31f5

4 files changed

Lines changed: 8 additions & 14 deletions

File tree

.github/workflows/build-and-test-pixi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
os: [ubuntu-latest, macos-13, macos-14] # macos-14 is macSilicon
20+
os: [ubuntu-latest, macos-14] # macos-14 is macSilicon
2121
steps:
2222
- name : Setup repo
2323
uses: actions/checkout@v4
@@ -45,7 +45,7 @@ jobs:
4545
strategy:
4646
fail-fast: false
4747
matrix:
48-
os: [ubuntu-latest, macos-13, macos-14] # macos-14 is macSilicon
48+
os: [ubuntu-latest, macos-14] # macos-14 is macSilicon
4949
steps:
5050
- name : Setup repo
5151
uses: actions/checkout@v4

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
os: [ubuntu-22.04, macos-13, macos-14] # macos-14 is macSilicon
20+
os: [ubuntu-22.04, macos-14] # macos-14 is macSilicon
2121
steps:
2222
- name : Checkout
2323
uses: actions/checkout@v4

.github/workflows/build-and-test_projects.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
os: [ubuntu-22.04, macos-13, macos-14] # macos-14 is macSilicon
20+
os: [ubuntu-22.04, macos-14] # macos-14 is macSilicon
2121
project: [
2222
PROJECTARIA_TOOLS_BUILD_PROJECTS_ADT,
2323
PROJECTARIA_TOOLS_BUILD_TOOLS]

.github/workflows/test-for-build-wheels.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
strategy:
7070
fail-fast: false
7171
matrix:
72-
os: [macos-13, macos-14, ubuntu-22.04] # macos-14 is macSilicon
72+
os: [macos-14, ubuntu-22.04] # macos-14 is macSilicon
7373
python-version: ["3.10", "3.11", "3.12"]
7474
# Default consider only Python >=3.10 since actions/setup-python supports only python<3.10 and mac-silicon
7575
# Other Python versions are added below as matrix entries
@@ -80,19 +80,13 @@ jobs:
8080
cibw_build: "cp311-*"
8181
- python-version: "3.12"
8282
cibw_build: "cp312-*"
83-
# Add matrix entries: Python ["3.8", "3.9"] to [macos-13, ubuntu-latest]
83+
# Add matrix entries: Python ["3.8", "3.9"] to [ubuntu-latest]
8484
- os: ubuntu-22.04
8585
python-version: "3.8"
8686
cibw_build: "cp38-*"
8787
- os: ubuntu-22.04
8888
python-version: "3.9"
8989
cibw_build: "cp39-*"
90-
- os: macos-13
91-
python-version: "3.8"
92-
cibw_build: "cp38-*"
93-
- os: macos-13
94-
python-version: "3.9"
95-
cibw_build: "cp39-*"
9690

9791
steps:
9892
- name: Checkout repo
@@ -113,7 +107,7 @@ jobs:
113107
python -m pip install --upgrade pip
114108
python -m pip install cibuildwheel==2.17.0
115109
- name: Install ffmpeg dependency lib
116-
if: ${{ (matrix.os == 'macos-14') || (matrix.os == 'macos-13') || (matrix.os == 'ubuntu-22.04') }}
110+
if: ${{ (matrix.os == 'macos-14') || (matrix.os == 'ubuntu-22.04') }}
117111
shell: bash
118112
run: |
119113
./build_third_party_libs/build_ffmpeg_linuxunix.sh
@@ -128,7 +122,7 @@ jobs:
128122
CIBW_SKIP: "*-manylinux_i686 *-musllinux_* *x86_64*"
129123
CIBW_ARCHS: "arm64"
130124
- name: Build wheels for CPython
131-
if: ${{ (matrix.os == 'macos-13') || (matrix.os == 'ubuntu-22.04') }}
125+
if: ${{ (matrix.os == 'ubuntu-22.04') }}
132126
shell: bash
133127
run: |
134128
CMAKE_BUILD_PARALLEL_LEVEL=4 python -m cibuildwheel --output-dir dist

0 commit comments

Comments
 (0)