Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 6216587

Browse files
committed
chore: Move Linux testing to GitHub Actions
1 parent 205cf8a commit 6216587

File tree

2 files changed

+55
-45
lines changed

2 files changed

+55
-45
lines changed

.github/workflows/linux.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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/

.travis.yml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -8,57 +8,12 @@ env:
88

99
jobs:
1010
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"
2611
- stage: platform-test
2712
node_js: "14.5"
2813
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"
4414
- stage: platform-test
4515
node_js: "12"
4616
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"
6217
- stage: platform-test
6318
node_js: "10"
6419
os: osx

0 commit comments

Comments
 (0)