8
8
fail-fast : false
9
9
matrix :
10
10
node-version : [8.x, 10.x, 12.x]
11
- python-version : [3.6, 3.7, 3.8] # 2.7, 3.5,
12
11
platform :
13
12
- { os: windows-latest, hunspell: true }
14
13
- { os: windows-latest }
15
14
- { os: macos-latest, hunspell: true }
16
15
- { os: macos-latest }
17
16
- { os: ubuntu-latest }
17
+ - { os: ubuntu-latest, c-compiler: clang, cpp-compiler: clang++ }
18
18
19
19
runs-on : ${{ matrix.platform.os }}
20
20
@@ -24,14 +24,39 @@ jobs:
24
24
uses : actions/setup-node@v1
25
25
with :
26
26
node-version : ${{ matrix.node-version }}
27
- - name : Set up Python ${{ matrix.python-version }}
28
- uses : actions/setup-python@v1
29
- with :
30
- python-version : ${{ matrix.python-version }}
31
27
- name : npm install, build, and test
32
28
run : |
33
29
npm install
34
30
npm test
31
+ env :
32
+ SPELLCHECKER_PREFER_HUNSPELL : ${{ matrix.platform.hunspell }}
33
+ CC : ${{ matrix.platform.c-compiler }}
34
+ CXX : ${{ matrix.platform.cpp-compiler }}
35
+
36
+ build-gyp :
37
+ strategy :
38
+ fail-fast : false
39
+ matrix :
40
+ node-version : [8.x, 10.x, 12.x]
41
+ python-version : [3.6, 3.7, 3.8] # 2.7, 3.5,
42
+ platform :
43
+ - { os: windows-latest }
44
+ - { os: macos-latest }
45
+ - { os: ubuntu-latest }
46
+ - { os: ubuntu-latest, c-compiler: clang, cpp-compiler: clang++ }
47
+
48
+ runs-on : ${{ matrix.platform.os }}
49
+
50
+ steps :
51
+ - uses : actions/checkout@v1
52
+ - name : Use Node.js ${{ matrix.node-version }}
53
+ uses : actions/setup-node@v1
54
+ with :
55
+ node-version : ${{ matrix.node-version }}
56
+ - name : Set up Python ${{ matrix.python-version }}
57
+ uses : actions/setup-python@v1
58
+ with :
59
+ python-version : ${{ matrix.python-version }}
35
60
- name : node-gyp install
36
61
run : |
37
62
npm install -g node-gyp
40
65
node-gyp configure
41
66
node-gyp build
42
67
env :
43
- SPELLCHECKER_PREFER_HUNSPELL : ${{ matrix.platform.hunspell }}
68
+ CC : ${{ matrix.platform.c-compiler }}
69
+ CXX : ${{ matrix.platform.cpp-compiler }}
0 commit comments