This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Commit 3d27d36 1 parent 39fdca5 commit 3d27d36 Copy full SHA for 3d27d36
File tree 2 files changed +13
-371
lines changed
2 files changed +13
-371
lines changed Original file line number Diff line number Diff line change 9
9
matrix :
10
10
node-version : [8.x, 10.x, 12.x]
11
11
platform :
12
- - { os: windows-latest, hunspell: true }
12
+ - { os: windows-latest, force- hunspell: true }
13
13
- { os: windows-latest }
14
- - { os: macos-latest, hunspell: true }
14
+ - { os: macos-latest, force- hunspell: true }
15
15
- { os: macos-latest }
16
- - { os: ubuntu-latest }
16
+ - { os: ubuntu-latest, use-clang: true }
17
17
18
18
runs-on : ${{ matrix.platform.os }}
19
-
19
+ env :
20
+ SPELLCHECKER_PREFER_HUNSPELL : ${{ matrix.platform.hunspell }}
21
+
20
22
steps :
21
23
- uses : actions/checkout@v1
22
24
- name : Use Node.js ${{ matrix.node-version }}
23
25
uses : actions/setup-node@v1
24
26
with :
25
27
node-version : ${{ matrix.node-version }}
28
+ - name : npm install, build, and test (clang)
29
+ if : matrix.platform.use-clang == true
30
+ run : |
31
+ export CC="$(which clang)"
32
+ export CPP="$(which clang++)"
33
+ npm install
34
+ npm test
26
35
- name : npm install, build, and test
27
36
run : |
28
37
npm install
29
38
npm test
30
- env :
31
- SPELLCHECKER_PREFER_HUNSPELL : ${{ matrix.platform.hunspell }}
You can’t perform that action at this time.
0 commit comments