From 7474c2ec7cd70c924316c9eb2d4a39ff7923c436 Mon Sep 17 00:00:00 2001 From: zhangyang2057 Date: Fri, 26 Apr 2024 15:56:24 +0800 Subject: [PATCH] Set macos version to 12(13 uses Xcode 15). --- .github/workflows/compiler-build.yml | 6 +++--- .github/workflows/compiler-python-release.yml | 4 ++-- .github/workflows/jupyter-test.yml | 2 +- .github/workflows/runtime-build.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/compiler-build.yml b/.github/workflows/compiler-build.yml index 9462575f4..130cd7f43 100644 --- a/.github/workflows/compiler-build.yml +++ b/.github/workflows/compiler-build.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: config: - - {name: x86_64-macos, os: macos-13, cmakeArgs: -DENABLE_X86SIMD=OFF, buildType: Release} + - {name: x86_64-macos, os: macos-12, cmakeArgs: -DENABLE_X86SIMD=OFF, buildType: Release} - {name: x86_64-linux, os: ubuntu-latest, cmakeArgs: '', buildType: Release} - {name: x86_64-windows, os: windows-latest, arch: x64, cmakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl, buildType: Release} @@ -79,7 +79,7 @@ jobs: matrix: dotnet-version: ['7.0'] config: - - {name: x86_64-macos, os: macos-13, shell: bash, rid: osx-x64, buildType: Release} + - {name: x86_64-macos, os: macos-12, shell: bash, rid: osx-x64, buildType: Release} - {name: x86_64-linux, os: ubuntu-latest, shell: bash, rid: linux-x64, buildType: Release} - {name: x86_64-windows, os: windows-latest, shell: bash, rid: win-x64, buildType: Release} @@ -168,7 +168,7 @@ jobs: matrix: dotnet-version: ['7.0'] config: - - {name: x86_64-macos, os: macos-13, shell: bash} + - {name: x86_64-macos, os: macos-12, shell: bash} - {name: x86_64-linux, os: ubuntu-latest, shell: bash} - {name: x86_64-windows, os: windows-latest, shell: bash} diff --git a/.github/workflows/compiler-python-release.yml b/.github/workflows/compiler-python-release.yml index 733d2ebfb..689979ea5 100644 --- a/.github/workflows/compiler-python-release.yml +++ b/.github/workflows/compiler-python-release.yml @@ -14,7 +14,7 @@ jobs: matrix: dotnet-version: ['7.0'] config: - - {name: x86_64-macos, os: macos-13, shell: bash, rid: osx-x64, buildType: Release} + - {name: x86_64-macos, os: macos-12, shell: bash, rid: osx-x64, buildType: Release} - {name: x86_64-linux, os: ubuntu-latest, shell: bash, rid: linux-x64, buildType: Release} - {name: x86_64-windows, os: windows-latest, shell: bash, rid: win-x64, buildType: Release} @@ -53,7 +53,7 @@ jobs: matrix: dotnet-version: ['7.0'] config: - - {name: x86_64-macos, os: macos-13} + - {name: x86_64-macos, os: macos-12} - {name: x86_64-linux, os: ubuntu-latest} - {name: x86_64-windows, os: windows-latest, arch: x64} diff --git a/.github/workflows/jupyter-test.yml b/.github/workflows/jupyter-test.yml index 9c1f1da4a..c6de31343 100755 --- a/.github/workflows/jupyter-test.yml +++ b/.github/workflows/jupyter-test.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: config: - - {name: x86_64-macos, os: macos-13} + - {name: x86_64-macos, os: macos-12} - {name: x86_64-linux, os: ubuntu-latest} - {name: x86_64-windows, os: windows-latest} diff --git a/.github/workflows/runtime-build.yml b/.github/workflows/runtime-build.yml index 7ee522029..b7fe4403f 100644 --- a/.github/workflows/runtime-build.yml +++ b/.github/workflows/runtime-build.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: config: - - { name: x86_64-macos, os: macos-13, cmakeArgs: '', buildType: Release } + - { name: x86_64-macos, os: macos-12, cmakeArgs: '', buildType: Release } - { name: x86_64-linux, os: ubuntu-latest, cmakeArgs: '', buildType: Release } - { name: x86_64-windows, os: windows-latest, arch: x64, cmakeArgs: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl, buildType: Release }