Skip to content

Commit 0635b31

Browse files
aminyaimplausible
andcommitted
feat: add readme for architecture
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
1 parent 59e61b8 commit 0635b31

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,28 @@ jobs:
7474
- run: npm test
7575
```
7676

77+
Architecture:
78+
The architecture can be selected using `node-arch`. Values are `x86`, `x64`, `arm64`, `armv6l`, `armv7l`, `ppc64le`, `s390x` (not all of the architectures are available on all platforms).
79+
```yaml
80+
jobs:
81+
build:
82+
runs-on: windows-latest
83+
strategy:
84+
matrix:
85+
node: [ '10', '12' ]
86+
arch: ['x86', 'x64']
87+
name: Node ${{ matrix.node }} on ${{ matrix.arch }}
88+
steps:
89+
- uses: actions/checkout@v2
90+
- name: Setup node
91+
uses: actions/setup-node@v1
92+
with:
93+
node-version: ${{ matrix.node }}
94+
node-arch: ${{ matrix.arch }}
95+
- run: npm install
96+
- run: npm test
97+
```
98+
7799
Publish to npmjs and GPR with npm:
78100
```yaml
79101
steps:

0 commit comments

Comments
 (0)