This repository was archived by the owner on Jul 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +55
-45
lines changed Expand file tree Collapse file tree 2 files changed +55
-45
lines changed Original file line number Diff line number Diff line change
1
+ name : Build bindings for Linux releases
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ${{ matrix.os }}
8
+
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ node :
13
+ - 10
14
+ - 12
15
+ - 14.5
16
+ include :
17
+ - node : 10
18
+ gcc : " gcc-4.9"
19
+ gpp : " g++-4.9"
20
+ os : ubuntu-16.04
21
+ - node : 12
22
+ gcc : " gcc-6"
23
+ gpp : " g++-6"
24
+ os : ubuntu-18.04
25
+ - node : 14.5
26
+ gcc : " gcc-6"
27
+ gpp : " g++-6"
28
+ os : ubuntu-18.04
29
+ steps :
30
+ - uses : actions/checkout@v2
31
+
32
+ - name : Setup Node.js environment
33
+ uses : actions/setup-node@v1.4.3
34
+ with :
35
+ node-version : ${{ matrix.node }}
36
+
37
+ - name : Setup GCC/G++
38
+ run : sudo apt-get install ${{ matrix.gcc }} ${{ matrix.gpp }}
39
+
40
+ - name : Install packages
41
+ run : npm install --unsafe-perm
42
+ env :
43
+ SKIP_SASS_BINARY_DOWNLOAD_FOR_CI : true
44
+ CC : ${{ matrix.gcc }}
45
+ CXX : ${{ matrix.gpp }}
46
+ LINK : ${{ matrix.gcc }}
47
+ LINKXX : ${{ matrix.gpp }}
48
+
49
+ - name : Run tests
50
+ run : npm test
51
+
52
+ - uses : actions/upload-artifact@v2
53
+ with :
54
+ name : ${{ matrix.node }}
55
+ path : vendor/
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
include :
11
- - stage : test
12
- node_js : " 14.5"
13
- os : linux
14
- addons :
15
- apt :
16
- sources :
17
- - ubuntu-toolchain-r-test
18
- packages :
19
- - gcc-6
20
- - g++-6
21
- env :
22
- - CC="gcc-6"
23
- - CXX="g++-6"
24
- - LINK="gcc-6"
25
- - LINKXX="g++-6"
26
11
- stage : platform-test
27
12
node_js : " 14.5"
28
13
os : osx
29
- - stage : platform-test
30
- node_js : " 12"
31
- os : linux
32
- addons :
33
- apt :
34
- sources :
35
- - ubuntu-toolchain-r-test
36
- packages :
37
- - gcc-6
38
- - g++-6
39
- env :
40
- - CC="gcc-6"
41
- - CXX="g++-6"
42
- - LINK="gcc-6"
43
- - LINKXX="g++-6"
44
14
- stage : platform-test
45
15
node_js : " 12"
46
16
os : osx
47
- - stage : platform-test
48
- node_js : " 10"
49
- os : linux
50
- addons :
51
- apt :
52
- sources :
53
- - ubuntu-toolchain-r-test
54
- packages :
55
- - gcc-4.9
56
- - g++-4.9
57
- env :
58
- - CC="gcc-4.9"
59
- - CXX="g++-4.9"
60
- - LINK="gcc-4.9"
61
- - LINKXX="g++-4.9"
62
17
- stage : platform-test
63
18
node_js : " 10"
64
19
os : osx
You can’t perform that action at this time.
0 commit comments