Skip to content

Commit 9ee1d29

Browse files
authored
Use GitHub's M1 macOS runner (rust-lang#3266)
An M1 (aarch64, Apple Silicon) runner is available on the free plan since January 2024 (see https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/).
1 parent 5c7cd63 commit 9ee1d29

File tree

4 files changed

+27
-28
lines changed

4 files changed

+27
-28
lines changed

.github/workflows/kani-m1.yml

-27
This file was deleted.

.github/workflows/kani.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ${{ matrix.os }}
1818
strategy:
1919
matrix:
20-
os: [macos-13, ubuntu-20.04, ubuntu-22.04]
20+
os: [macos-13, ubuntu-20.04, ubuntu-22.04, macos-14]
2121
steps:
2222
- name: Checkout Kani
2323
uses: actions/checkout@v4

.github/workflows/release.yml

+26
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,32 @@ jobs:
4444
os: macos-13
4545
arch: x86_64-apple-darwin
4646

47+
build_bundle_macos_aarch64:
48+
name: BuildBundle-MacOs-ARM
49+
runs-on: macos-14
50+
permissions:
51+
contents: write
52+
outputs:
53+
version: ${{ steps.bundle.outputs.version }}
54+
bundle: ${{ steps.bundle.outputs.bundle }}
55+
package: ${{ steps.bundle.outputs.package }}
56+
crate_version: ${{ steps.bundle.outputs.crate_version }}
57+
steps:
58+
- name: Checkout code
59+
uses: actions/checkout@v4
60+
61+
- name: Setup Kani Dependencies
62+
uses: ./.github/actions/setup
63+
with:
64+
os: macos-14
65+
66+
- name: Build bundle
67+
id: bundle
68+
uses: ./.github/actions/build-bundle
69+
with:
70+
os: macos-14
71+
arch: aarch64-apple-darwin
72+
4773
build_bundle_linux:
4874
name: BuildBundle-Linux
4975
runs-on: ubuntu-20.04
File renamed without changes.

0 commit comments

Comments
 (0)