Skip to content

Commit aa21e70

Browse files
committed
[ci] Use Github Actions for Windows x86 testing
1 parent e519810 commit aa21e70

File tree

3 files changed

+14
-23
lines changed

3 files changed

+14
-23
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
- 8
1417
- 10
@@ -19,14 +22,22 @@ jobs:
1922
- macOS-latest
2023
- ubuntu-latest
2124
- windows-latest
25+
exclude:
26+
- arch: x86
27+
os: macOS-latest
28+
- arch: x86
29+
os: ubuntu-latest
2230
steps:
2331
- uses: actions/checkout@v2
2432
- uses: actions/setup-node@v2
2533
with:
2634
node-version: ${{ matrix.node }}
35+
architecture: ${{ matrix.arch }}
2736
- run: npm install
2837
- run: npm run lint
29-
if: matrix.node == 16 && matrix.os == 'ubuntu-latest'
38+
if:
39+
matrix.os == 'ubuntu-latest' && matrix.node == 16 && matrix.arch ==
40+
'x64'
3041
- run: npm test
3142
- run:
3243
echo ::set-output name=job_id::$(node -e
@@ -36,8 +47,8 @@ jobs:
3647
- uses: coverallsapp/github-action@v1.1.2
3748
with:
3849
flag-name:
39-
${{ steps.get_job_id.outputs.job_id }} (Node.js ${{ matrix.node }}
40-
on ${{ matrix.os }})
50+
${{ steps.get_job_id.outputs.job_id }} (Node.js ${{ matrix.node }} -
51+
$ {{ matrix.arch }} on ${{ matrix.os }})
4152
github-token: ${{ secrets.GITHUB_TOKEN }}
4253
parallel: true
4354
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 & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)