88 fail-fast : false
99 matrix :
1010 node-version : [8.x, 10.x, 12.x]
11- python-version : [3.6, 3.7, 3.8] # 2.7, 3.5,
1211 platform :
1312 - { os: windows-latest, hunspell: true }
1413 - { os: windows-latest }
1514 - { os: macos-latest, hunspell: true }
1615 - { os: macos-latest }
1716 - { os: ubuntu-latest }
17+ - { os: ubuntu-latest, c-compiler: clang, cpp-compiler: clang++ }
1818
1919 runs-on : ${{ matrix.platform.os }}
2020
@@ -24,14 +24,39 @@ jobs:
2424 uses : actions/setup-node@v1
2525 with :
2626 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 }}
3127 - name : npm install, build, and test
3228 run : |
3329 npm install
3430 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 }}
3560 - name : node-gyp install
3661 run : |
3762 npm install -g node-gyp
4065 node-gyp configure
4166 node-gyp build
4267 env :
43- SPELLCHECKER_PREFER_HUNSPELL : ${{ matrix.platform.hunspell }}
68+ CC : ${{ matrix.platform.c-compiler }}
69+ CXX : ${{ matrix.platform.cpp-compiler }}
0 commit comments