Add support for Python 3.10, Node.js 17, and Node.js on Apple Silicon to build pipelines
This commit is contained in:
parent
2a458483f3
commit
694bb2cb8e
|
@ -11,7 +11,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-11.0, ubuntu-18.04, windows-2019, self-hosted]
|
os: [macos-11.0, ubuntu-18.04, windows-2019, self-hosted-linux-arm64]
|
||||||
include:
|
include:
|
||||||
- os: macos-11.0
|
- os: macos-11.0
|
||||||
ARCH: macos-x86_64
|
ARCH: macos-x86_64
|
||||||
|
@ -25,7 +25,7 @@ jobs:
|
||||||
ARCH: windows-x86_64
|
ARCH: windows-x86_64
|
||||||
MIME: application/vnd.microsoft.portable-executable
|
MIME: application/vnd.microsoft.portable-executable
|
||||||
EXT: '.exe'
|
EXT: '.exe'
|
||||||
- os: self-hosted
|
- os: self-hosted-linux-arm64
|
||||||
ARCH: linux-arm64
|
ARCH: linux-arm64
|
||||||
MIME: application/octet-stream
|
MIME: application/octet-stream
|
||||||
EXT: ''
|
EXT: ''
|
||||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
feature: [core, js]
|
feature: [core, js]
|
||||||
os: [macos-11.0, ubuntu-18.04, windows-2019, self-hosted]
|
os: [macos-11.0, ubuntu-18.04, windows-2019, self-hosted-linux-arm64, self-hosted-macos-arm64]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
@ -22,11 +22,13 @@ jobs:
|
||||||
run: echo ::set-output name=VERSION::"$([[ "$GITHUB_REF" == refs/tags/v* ]] && echo ${GITHUB_REF#refs/tags/v} || echo '0.0.0')"
|
run: echo ::set-output name=VERSION::"$([[ "$GITHUB_REF" == refs/tags/v* ]] && echo ${GITHUB_REF#refs/tags/v} || echo '0.0.0')"
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
|
if: runner.name != 'macos-arm64'
|
||||||
uses: actions/setup-node@master
|
uses: actions/setup-node@master
|
||||||
with:
|
with:
|
||||||
node-version: 15.x
|
node-version: 17.x
|
||||||
|
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
|
if: runner.name != 'macos-arm64'
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
@ -38,6 +40,7 @@ jobs:
|
||||||
run: .\.github\workflows\gcc.ps1
|
run: .\.github\workflows\gcc.ps1
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
|
if: runner.name != 'macos-arm64'
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: '^1.14.0'
|
go-version: '^1.14.0'
|
||||||
|
@ -81,7 +84,7 @@ jobs:
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@master
|
uses: actions/setup-node@master
|
||||||
with:
|
with:
|
||||||
node-version: 15.x
|
node-version: 17.x
|
||||||
- name: Pack and publish package
|
- name: Pack and publish package
|
||||||
working-directory: ./nodejs
|
working-directory: ./nodejs
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
feature: [core, js]
|
feature: [core, js]
|
||||||
os: [macos-11.0, ubuntu-18.04, windows-2019]
|
os: [macos-11.0, ubuntu-18.04, windows-2019]
|
||||||
python: [3.7, 3.8, 3.9]
|
python: [3.7, 3.8, 3.9, 3.10]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
|
|
Loading…
Reference in New Issue