Browse Source

Downgrade ubuntu and macos version for better libc compatibility

tags/0.3.8-rc
haixuanTao 1 year ago
parent
commit
514331c960
2 changed files with 12 additions and 12 deletions
  1. +3
    -3
      .github/workflows/node-hub-ci-cd.yml
  2. +9
    -9
      .github/workflows/pip-release.yml

+ 3
- 3
.github/workflows/node-hub-ci-cd.yml View File

@@ -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 }}


+ 9
- 9
.github/workflows/pip-release.yml View File

@@ -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:


Loading…
Cancel
Save