fixes broken CI; bump macOS version to macos-11 (#20098)

* bump macOS image on Azure CI to macos-11

##[warning]The macOS-10.15 environment is deprecated, consider switching to macos-11(macos-latest), macos-12 instead. For more details see https://github.com/actions/virtual-environments/issues/5583

* fix CI error
This commit is contained in:
ringabout 2022-07-27 21:06:34 +08:00 • committed by GitHub
commit 8ef509b85b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -40,7 +40,7 @@ jobs:
- target: windows - target: windows
os: windows-2019 os: windows-2019
- target: osx - target: osx
os: macos-10.15 os: macos-11
name: ${{ matrix.target }} name: ${{ matrix.target }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}

View file

@ -6,7 +6,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-20.04, macos-10.15] os: [ubuntu-20.04, macos-11]
cpu: [amd64] cpu: [amd64]
batch: ["allowed_failures", "0_3", "1_3", "2_3"] # list of `index_num` batch: ["allowed_failures", "0_3", "1_3", "2_3"] # list of `index_num`
name: '${{ matrix.os }} (batch: ${{ matrix.batch }})' name: '${{ matrix.os }} (batch: ${{ matrix.batch }})'

View file

@ -28,10 +28,10 @@ jobs:
vmImage: 'ubuntu-18.04' vmImage: 'ubuntu-18.04'
CPU: i386 CPU: i386
OSX_amd64: OSX_amd64:
vmImage: 'macOS-10.15' vmImage: 'macOS-11'
CPU: amd64 CPU: amd64
OSX_amd64_cpp: OSX_amd64_cpp:
vmImage: 'macOS-10.15' vmImage: 'macOS-11'
CPU: amd64 CPU: amd64
NIM_COMPILE_TO_CPP: true NIM_COMPILE_TO_CPP: true
Windows_amd64_batch0_3: Windows_amd64_batch0_3: