Browse Source

Test with aarch64 macOS on CI (#7914)

* Test with aarch64 macOS on CI

Rebase of #7129 with the `macos-14` string which GitHub indicates should
now work for public repos.

prtest:full

* Fix syntax
pull/7919/head
Alex Crichton 9 months ago
committed by GitHub
parent
commit
2aa6d7683d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/main.yml
  2. 2
      ci/build-build-matrix.js
  3. 6
      ci/build-test-matrix.js

2
.github/workflows/main.yml

@ -514,7 +514,7 @@ jobs:
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
- name: CPU information - name: CPU information
run: sysctl hw run: sysctl hw
if: matrix.os == 'macos-latest' if: contains(matrix.os, 'macos')
- name: CPU information - name: CPU information
run: wmic cpu list /format:list run: wmic cpu list /format:list
shell: pwsh shell: pwsh

2
ci/build-build-matrix.js

@ -36,7 +36,7 @@ const array = [
}, },
{ {
"build": "aarch64-macos", "build": "aarch64-macos",
"os": "macos-latest", "os": "macos-14",
"target": "aarch64-apple-darwin", "target": "aarch64-apple-darwin",
}, },
{ {

6
ci/build-test-matrix.js

@ -59,6 +59,12 @@ const array = [
"name": "Test macOS x86_64", "name": "Test macOS x86_64",
"filter": "macos-x64" "filter": "macos-x64"
}, },
{
"os": "macos-14",
"name": "Test macOS arm64",
"filter": "macos-arm64",
"target": "aarch64-apple-darwin"
},
{ {
"os": "windows-latest", "os": "windows-latest",
"name": "Test Windows MSVC x86_64", "name": "Test Windows MSVC x86_64",

Loading…
Cancel
Save