diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c3d8f8159862..cbc54e11092c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -514,7 +514,7 @@ jobs: if: matrix.os == 'ubuntu-latest' - name: CPU information run: sysctl hw - if: matrix.os == 'macos-latest' + if: contains(matrix.os, 'macos') - name: CPU information run: wmic cpu list /format:list shell: pwsh diff --git a/ci/build-build-matrix.js b/ci/build-build-matrix.js index 46c7e9bea20c..f0ca90ab0792 100644 --- a/ci/build-build-matrix.js +++ b/ci/build-build-matrix.js @@ -36,7 +36,7 @@ const array = [ }, { "build": "aarch64-macos", - "os": "macos-latest", + "os": "macos-14", "target": "aarch64-apple-darwin", }, { diff --git a/ci/build-test-matrix.js b/ci/build-test-matrix.js index b5b776fc78ee..0a2a53c9bde0 100644 --- a/ci/build-test-matrix.js +++ b/ci/build-test-matrix.js @@ -59,6 +59,12 @@ const array = [ "name": "Test macOS x86_64", "filter": "macos-x64" }, + { + "os": "macos-14", + "name": "Test macOS arm64", + "filter": "macos-arm64", + "target": "aarch64-apple-darwin" + }, { "os": "windows-latest", "name": "Test Windows MSVC x86_64",