Skip to content

Commit f402355

Browse files
authored
Update MacOS CI to Arm64 (#1136)
1 parent 532820e commit f402355

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,17 +174,26 @@ jobs:
174174
echo "Starting to run AppVerifier on all tests found by CTest"
175175
python .\aws-c-common\scripts\appverifier_ctest.py --build_directory .\aws-c-common\build\aws-c-common
176176
177-
osx:
178-
runs-on: macos-12 # latest
177+
macos-x64:
178+
runs-on: macos-14-large # latest
179179
steps:
180180
- name: Build ${{ env.PACKAGE_NAME }} + consumers
181181
run: |
182182
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
183183
chmod a+x builder
184184
./builder build -p ${{ env.PACKAGE_NAME }}
185185
186-
osx-no-cpu-extensions:
187-
runs-on: macos-12 # latest
186+
macos:
187+
runs-on: macos-14 # latest
188+
steps:
189+
- name: Build ${{ env.PACKAGE_NAME }} + consumers
190+
run: |
191+
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
192+
chmod a+x builder
193+
./builder build -p ${{ env.PACKAGE_NAME }}
194+
195+
macos-no-cpu-extensions:
196+
runs-on: macos-14 # latest
188197
steps:
189198
- name: Build ${{ env.PACKAGE_NAME }} + consumers
190199
run: |
@@ -255,8 +264,8 @@ jobs:
255264
python -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder.pyz')"
256265
python builder.pyz build -p ${{ env.PACKAGE_NAME }} --config Debug
257266
258-
osx-debug:
259-
runs-on: macos-12 # latest
267+
macos-debug:
268+
runs-on: macos-14 # latest
260269
steps:
261270
- name: Build ${{ env.PACKAGE_NAME }} + consumers
262271
run: |

0 commit comments

Comments
 (0)