forked from sass/node-sass
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) · 1.14 KB
/
electron-win.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Electron Rebuild CI - Windows (x32 & x64)
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
electron:
- 5.0.0 #70
- 6.0.0 #73
- 7.0.0 #75
- 8.0.0 #76
arch:
- ia32
- x64
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
os: ${{ matrix.os }}
- name: Node Ver (For debugging)
run: node -v
- name: Install packages
run: npm install --unsafe-perm
- name: Run on ${{ matrix.os }} - Electron v${{ matrix.electron }}
run: node ".\node_modules\node-gyp\bin\node-gyp.js" rebuild --target=${{ matrix.electron }} --arch=${{ matrix.arch }} --dist-url=https://electronjs.org/headers
- uses: actions/upload-artifact@v1
with:
name: win32_${{ matrix.arch }}_${{ matrix.electron }}.node
path: build/release/binding.node
- uses: actions/upload-artifact@v1
with:
name: win32_${{ matrix.arch }}_${{ matrix.electron }}.pdb
path: build/release/binding.pdb
- run: npm test
env:
CI: true