Skip to content

Commit 04c032c

Browse files
committed
[ci] Use Github Actions for Windows x86 testing
1 parent 48c2cb3 commit 04c032c

File tree

3 files changed

+14
-22
lines changed

3 files changed

+14
-22
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12+
arch:
13+
- x64
14+
- x86
1215
node:
1316
- 10
1417
- 12
@@ -18,14 +21,22 @@ jobs:
1821
- macOS-latest
1922
- ubuntu-latest
2023
- windows-latest
24+
exclude:
25+
- arch: x86
26+
os: macOS-latest
27+
- arch: x86
28+
os: ubuntu-latest
2129
steps:
2230
- uses: actions/checkout@v2
2331
- uses: actions/setup-node@v2
2432
with:
2533
node-version: ${{ matrix.node }}
34+
architecture: ${{ matrix.arch }}
2635
- run: npm install
2736
- run: npm run lint
28-
if: matrix.node == 16 && matrix.os == 'ubuntu-latest'
37+
if:
38+
matrix.os == 'ubuntu-latest' && matrix.node == 16 && matrix.arch ==
39+
'x64'
2940
- run: npm test
3041
- run:
3142
echo ::set-output name=job_id::$(node -e
@@ -35,8 +46,8 @@ jobs:
3546
- uses: coverallsapp/[email protected]
3647
with:
3748
flag-name:
38-
${{ steps.get_job_id.outputs.job_id }} (Node.js ${{ matrix.node }}
39-
on ${{ matrix.os }})
49+
${{ steps.get_job_id.outputs.job_id }} (Node.js ${{ matrix.node }} -
50+
$ {{ matrix.arch }} on ${{ matrix.os }})
4051
github-token: ${{ secrets.GITHUB_TOKEN }}
4152
parallel: true
4253
coverage:

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
[![Version npm](https://img.shields.io/npm/v/ws.svg?logo=npm)](https://www.npmjs.com/package/ws)
44
[![Build](https://img.shields.io/github/workflow/status/websockets/ws/CI/master?label=build&logo=github)](https://github.com/websockets/ws/actions?query=workflow%3ACI+branch%3Amaster)
5-
[![Windows x86 Build](https://img.shields.io/appveyor/ci/lpinca/ws/master.svg?logo=appveyor)](https://ci.appveyor.com/project/lpinca/ws)
65
[![Coverage Status](https://img.shields.io/coveralls/websockets/ws/master.svg?logo=coveralls)](https://coveralls.io/github/websockets/ws)
76

87
ws is a simple to use, blazing fast, and thoroughly tested WebSocket client and

appveyor.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)