From 3dbad748b2f83f0463e346d4827436db43f053aa Mon Sep 17 00:00:00 2001 From: Baoshuo Ren Date: Mon, 25 Jul 2022 14:59:44 +0800 Subject: [PATCH] chore: bump macos runner version GitHub Action is sunsetting the macOS 10.15 Actions runner. It will stop working intermittently until being completely removed by 2022-8-30: https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22 --- .github/workflows/build-and-test.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 5291d109bc..c432ad5c0c 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -606,7 +606,7 @@ jobs: # macOS jobs swig_macOS: name: "Mac|Build SWIG" - runs-on: macos-10.15 + runs-on: macos-11 env: swig_hash: "90cdbee6a69d13b39d734083b9f91069533b0d7b" steps: @@ -649,7 +649,7 @@ jobs: build-ctc-decoder-macos: name: "Mac|Build CTC decoder Python package for testing" needs: [ swig_macOS ] - runs-on: macos-10.15 + runs-on: macos-11 if: ${{ github.event_name == 'pull_request' }} steps: - uses: actions/checkout@v2 @@ -690,7 +690,7 @@ jobs: train-test-model-macOS: name: "Mac|Train a test model" needs: [ "build-ctc-decoder-macos" ] - runs-on: macos-10.15 + runs-on: macos-11 if: ${{ github.event_name == 'pull_request' }} strategy: matrix: @@ -775,7 +775,7 @@ jobs: build-tensorflow-macOS: name: "Mac|Build TensorFlow (opt)" needs: tensorflow_opt-macOS - runs-on: macos-10.15 + runs-on: macos-11 steps: - run: true if: needs.tensorflow_opt-macOS.outputs.status == 'found' @@ -803,7 +803,7 @@ jobs: if: needs.tensorflow_opt-macOS.outputs.status == 'missing' build-lib_macOS: name: "Mac|Build libdeepspeech+client" - runs-on: macos-10.15 + runs-on: macos-11 needs: [ build-tensorflow-macOS, tensorflow_opt-macOS ] strategy: matrix: @@ -845,7 +845,7 @@ jobs: path: ${{ github.workspace }}/artifacts/libdeepspeech.zip build-python-macOS: name: "Mac|Build python bindings" - runs-on: macos-10.15 + runs-on: macos-11 needs: [ build-lib_macOS, swig_macOS ] strategy: matrix: @@ -895,7 +895,7 @@ jobs: path: ${{ github.workspace }}/wheels/*.whl build-nodejs-macOS: name: "Mac|Build NodeJS and ElectronJS" - runs-on: macos-10.15 + runs-on: macos-11 needs: [ build-lib_macOS, swig_macOS ] strategy: matrix: @@ -949,7 +949,7 @@ jobs: path: ${{ github.workspace }}/native_client/javascript/deepspeech-*.tgz test-cpp-macOS: name: "Mac|Test C++ binary" - runs-on: macos-10.15 + runs-on: macos-11 needs: [ build-lib_macOS, train-test-model-macOS ] if: ${{ github.event_name == 'pull_request' }} strategy: @@ -990,7 +990,7 @@ jobs: model-kind: ${{ matrix.models }} test-py-macOS: name: "Mac|Test Python bindings" - runs-on: macos-10.15 + runs-on: macos-11 needs: [ build-python-macOS, train-test-model-macOS ] if: ${{ github.event_name == 'pull_request' }} strategy: @@ -1035,7 +1035,7 @@ jobs: model-kind: ${{ matrix.models }} test-nodejs-macOS: name: "Mac|Test NodeJS bindings" - runs-on: macos-10.15 + runs-on: macos-11 needs: [ build-nodejs-macOS, train-test-model-macOS ] if: ${{ github.event_name == 'pull_request' }} strategy: @@ -1089,7 +1089,7 @@ jobs: model-kind: ${{ matrix.models }} test-electronjs-macOS: name: "Mac|Test ElectronJS bindings" - runs-on: macos-10.15 + runs-on: macos-11 needs: [ build-nodejs-macOS, train-test-model-macOS ] if: ${{ github.event_name == 'pull_request' }} strategy: @@ -1842,7 +1842,7 @@ jobs: timeout-minutes: 5 test-nodejs_all-macOS: name: "Mac|Test MultiArchPlatform NodeJS bindings" - runs-on: macos-10.15 + runs-on: macos-11 needs: [ repackage-nodejs-allplatforms, train-test-model-macOS ] if: ${{ github.event_name == 'pull_request' }} strategy: @@ -1896,7 +1896,7 @@ jobs: model-kind: ${{ matrix.models }} test-electronjs_all-macOS: name: "Mac|Test MultiArchPlatform ElectronJS bindings" - runs-on: macos-10.15 + runs-on: macos-11 needs: [ repackage-nodejs-allplatforms, train-test-model-macOS ] if: ${{ github.event_name == 'pull_request' }} strategy: