From 514331c9603ea8b1422d4863ccd6d5043f0aa5cc Mon Sep 17 00:00:00 2001 From: haixuanTao Date: Mon, 18 Nov 2024 06:52:06 +0100 Subject: [PATCH] Downgrade ubuntu and macos version for better libc compatibility --- .github/workflows/node-hub-ci-cd.yml | 6 +++--- .github/workflows/pip-release.yml | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/node-hub-ci-cd.yml b/.github/workflows/node-hub-ci-cd.yml index 295a8f2b..bd9f02d4 100644 --- a/.github/workflows/node-hub-ci-cd.yml +++ b/.github/workflows/node-hub-ci-cd.yml @@ -13,7 +13,7 @@ on: jobs: find-jobs: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 name: Find Jobs outputs: folders: ${{ steps.jobs.outputs.folders }} @@ -33,7 +33,7 @@ jobs: working-directory: node-hub/${{ matrix.folder }} strategy: matrix: - platform: [ubuntu-latest, macos-latest] + platform: [ubuntu-20.04, macos-12] folder: ${{ fromJson(needs.find-jobs.outputs.folders )}} fail-fast: false steps: @@ -85,7 +85,7 @@ jobs: working-directory: node-hub/${{ matrix.folder }} strategy: matrix: - platform: [ubuntu-latest, macos-latest] + platform: [ubuntu-20.04, macos-12] folder: ${{ fromJson(needs.find-jobs.outputs.folders )}} fail-fast: false runs-on: ${{ matrix.platform }} diff --git a/.github/workflows/pip-release.yml b/.github/workflows/pip-release.yml index e8bea26e..4c7fdae7 100644 --- a/.github/workflows/pip-release.yml +++ b/.github/workflows/pip-release.yml @@ -27,13 +27,13 @@ jobs: strategy: matrix: platform: - - runner: ubuntu-22.04 + - runner: ubuntu-20.04 target: x86_64 - - runner: ubuntu-22.04 + - runner: ubuntu-20.04 target: x86 - - runner: ubuntu-22.04 + - runner: ubuntu-20.04 target: aarch64 - - runner: ubuntu-22.04 + - runner: ubuntu-20.04 target: armv7 # - runner: ubuntu-20.04 # target: s390x @@ -77,7 +77,7 @@ jobs: target: x86_64 - runner: ubuntu-20.04 target: x86 - - runner: ubuntu-22.04 + - runner: ubuntu-20.04 target: aarch64 repository: - path: apis/python/node @@ -105,7 +105,7 @@ jobs: path: ${{ matrix.repository.path }}/dist musleabi: - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 strategy: matrix: platform: @@ -183,7 +183,7 @@ jobs: platform: - runner: macos-12 target: x86_64 - - runner: macos-14 + - runner: macos-12 target: aarch64 repository: - path: apis/python/node @@ -210,7 +210,7 @@ jobs: path: ${{ matrix.repository.path }}/dist sdist: - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 strategy: matrix: repository: @@ -235,7 +235,7 @@ jobs: release: name: Release - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/') needs: [linux, musllinux, musleabi, windows, macos, sdist] strategy: