Skip to content

Commit e0b6914

Browse files
authored
Merge pull request #630 from OmkarPh/release-actions/macos-arm-build
MacoOS arm builds on github actions
2 parents 4aa8fe5 + fe6bc1c commit e0b6914

File tree

4 files changed

+19
-20
lines changed

4 files changed

+19
-20
lines changed

.github/workflows/Release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Create Release
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@master
15+
- uses: actions/checkout@v4
1616
# - name: Exit if tag not is not pointing to a commit in master branch
1717
# if: endsWith(github.ref, 'master') == false
1818
# run: exit -1
@@ -38,16 +38,16 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
os: [ubuntu-latest, macos-latest, windows-latest]
41+
os: [ubuntu-latest, macos-latest, windows-latest, macos-14]
4242
runs-on: ${{ matrix.os }}
4343
steps:
44-
- uses: actions/checkout@master
44+
- uses: actions/checkout@v4
4545
- uses: actions/setup-python@v4
4646
with:
47-
python-version: 3.9
47+
python-version: 3.12.0
4848
- uses: actions/setup-node@master
4949
with:
50-
node-version: 16.13.0
50+
node-version: 20
5151
- name: Install dependencies
5252
run: npm install
5353
- name: Create release assets directory

.github/workflows/Test.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [14.x, 16.x, 18.x]
14+
node-version: [16.x, 18.x, 20.x]
1515
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@master
2121
with:
2222
node-version: ${{ matrix.node-version }}
23-
cache: "npm"
2423
- run: npm install
2524
- run: npm test

.github/workflows/docs-ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
strategy:
1313
max-parallel: 4
1414
matrix:
15-
python-version: [3.9]
15+
python-version: [3.12.0]
1616

1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Set up Python ${{ matrix.python-version }}
2222
uses: actions/setup-python@v4

docs/source/contribute/building.rst

+9-9
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ Building Requirements
2929
Linux
3030
-----
3131

32-
- `Python <https://www.python.org/>`__ v3.7 or later
33-
- `Node.js <https://nodejs.org/en//>`__ 14.x or later
34-
- `npm <https://www.npmjs.com/>`__ v6.14.4 or later
32+
- `Python <https://www.python.org/>`__ v3.9 or later
33+
- `Node.js <https://nodejs.org/en//>`__ 16.x or later
34+
- `npm <https://www.npmjs.com/>`__ v8.x or later
3535

3636
.. include:: ../rst_snippets/centos-note.rst
3737

3838
MacOS
3939
-----
4040

41-
- `Python <https://www.python.org/>`__ v3.7 or later
42-
- `Node.js <https://nodejs.org/en/>`__ 14.x or later
43-
- `npm <https://www.npmjs.com/>`__ v6.14.4 or later
41+
- `Python <https://www.python.org/>`__ v3.9 or later
42+
- `Node.js <https://nodejs.org/en/>`__ 16.x or later
43+
- `npm <https://www.npmjs.com/>`__ v8.x or later
4444
- Command Line Tools for `Xcode <https://developer.apple.com/xcode/resources/>`_
4545
Install using:
4646

@@ -51,16 +51,16 @@ MacOS
5151
Windows
5252
-------
5353

54-
- `Python <https://www.python.org/>`__ v3.7 or later
54+
- `Python <https://www.python.org/>`__ v3.9 or later
5555

5656
* Make sure your Python path is set. To verify, open a command prompt and see the python version:
5757

5858
.. code-block:: bash
5959
6060
python --version
6161
62-
- `Node.js <https://nodejs.org/en/>`__ v14.x or later
63-
- `npm <https://www.npmjs.com/>`__ v6.14.4 or later
62+
- `Node.js <https://nodejs.org/en/>`__ v16.x or later
63+
- `npm <https://www.npmjs.com/>`__ v8.x or later
6464

6565

6666
Release Instructions

0 commit comments

Comments
 (0)