13
13
- { os: windows-latest }
14
14
- { os: macos-latest, force-hunspell: true }
15
15
- { os: macos-latest }
16
- - { os: ubuntu-latest }
17
16
- { os: ubuntu-latest, use-clang: true }
18
17
19
18
runs-on : ${{ matrix.platform.os }}
@@ -26,14 +25,15 @@ jobs:
26
25
uses : actions/setup-node@v1
27
26
with :
28
27
node-version : ${{ matrix.node-version }}
29
- - name : Clang env
28
+ - name : npm install, build, and test (clang)
30
29
if : matrix.platform.use-clang == true
31
30
run : |
32
31
export CC="$(which clang)"
33
32
export CPP="$(which clang++)"
33
+ npm install
34
+ npm test
34
35
- name : npm install, build, and test
35
36
run : |
36
- echo "Using $CC"
37
37
npm install
38
38
npm test
39
39
46
46
platform :
47
47
- { os: windows-latest }
48
48
- { os: macos-latest }
49
- - { os: ubuntu-latest }
50
49
- { os: ubuntu-latest, use-clang: true }
51
50
52
51
runs-on : ${{ matrix.platform.os }}
@@ -61,15 +60,16 @@ jobs:
61
60
uses : actions/setup-python@v1
62
61
with :
63
62
python-version : ${{ matrix.python-version }}
64
- - name : Clang env
63
+ - name : node-gyp install
64
+ run : |
65
+ npm install -g node-gyp
66
+ - name : node-gyp configure & build (clang)
65
67
if : matrix.platform.use-clang == true
66
68
run : |
67
69
export CC="$(which clang)"
68
70
export CPP="$(which clang++)"
69
- - name : node-gyp install
70
- run : |
71
- echo "Using $CC"
72
- npm install -g node-gyp
71
+ node-gyp configure
72
+ node-gyp build
73
73
- name : node-gyp configure & build
74
74
run : |
75
75
node-gyp configure
0 commit comments