Skip to content

Commit 5956df5

Browse files
authored
devops: re-factor github workflow internal structure (#956)
1 parent 5f24205 commit 5956df5

12 files changed

+154
-341
lines changed

.github/workflows/chromium-linux.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/chromium-mac.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/chromium-windows.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/docs-and-lint.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/firefox-linux.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/firefox-mac.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/firefox-windows.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/infra.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "infra"
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
env:
12+
CI: true
13+
14+
jobs:
15+
doc-and-lint:
16+
name: "docs & lint"
17+
runs-on: ubuntu-18.04
18+
steps:
19+
- uses: actions/checkout@v1
20+
- uses: actions/setup-node@v1
21+
with:
22+
node-version: 10.15
23+
- name: install required packages
24+
run: |
25+
sudo apt-get update
26+
sudo apt-get install libgbm-dev
27+
sudo apt-get install xvfb
28+
- run: npm install
29+
- run: npm run lint

.github/workflows/tests.yml

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
name: tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
env:
12+
CI: true
13+
14+
jobs:
15+
tests_linux_chromium:
16+
name: "Linux + CR"
17+
runs-on: ubuntu-18.04
18+
steps:
19+
- uses: actions/checkout@v1
20+
- uses: actions/setup-node@v1
21+
with:
22+
node-version: 10.15
23+
- name: install required packages
24+
run: |
25+
sudo apt-get update
26+
sudo apt-get install libgbm-dev xvfb
27+
- run: npm install
28+
- run: xvfb-run --auto-servernum npm run ctest
29+
30+
tests_linux_firefox:
31+
name: "Linux + FF"
32+
runs-on: ubuntu-18.04
33+
steps:
34+
- uses: actions/checkout@v1
35+
- uses: actions/setup-node@v1
36+
with:
37+
node-version: 10.15
38+
- name: install required packages
39+
run: |
40+
sudo apt-get update
41+
sudo apt-get install xvfb
42+
- run: npm install
43+
- run: xvfb-run --auto-servernum npm run ftest
44+
45+
tests_linux_webkit:
46+
name: "Linux + WK"
47+
runs-on: ubuntu-18.04
48+
steps:
49+
- uses: actions/checkout@v1
50+
- uses: actions/setup-node@v1
51+
with:
52+
node-version: 10.15
53+
- name: install required packages
54+
run: |
55+
sudo apt-get update
56+
sudo apt-get install libwoff1 libopus0 libwebp6 libwebpdemux2 libenchant1c2a libgudev-1.0-0 libsecret-1-0 libhyphen0 libgdk-pixbuf2.0-0 libegl1 libgles2 libevent-2.1-6 libnotify4 libxslt1.1
57+
sudo apt-get install xvfb
58+
- run: npm install
59+
- run: xvfb-run --auto-servernum npm run wtest
60+
61+
tests_win_chromium:
62+
name: "Win + CR"
63+
runs-on: windows-latest
64+
steps:
65+
- uses: actions/checkout@v1
66+
- uses: actions/setup-node@v1
67+
with:
68+
node-version: 10.15
69+
- run: npm install
70+
- run: npm run ctest
71+
72+
tests_win_firefox:
73+
name: "Win + FF"
74+
runs-on: windows-latest
75+
steps:
76+
- uses: actions/checkout@v1
77+
- uses: actions/setup-node@v1
78+
with:
79+
node-version: 10.15
80+
- run: npm install
81+
- run: npm run ftest
82+
83+
tests_win_webkit:
84+
name: "Win + WK"
85+
runs-on: windows-latest
86+
steps:
87+
- uses: actions/checkout@v1
88+
- uses: actions/setup-node@v1
89+
with:
90+
node-version: 10.15
91+
- run: npm install
92+
- run: npm run wtest
93+
94+
tests_mac_chromium:
95+
name: "Mac + CR"
96+
runs-on: macos-latest
97+
steps:
98+
- uses: actions/checkout@v1
99+
- uses: actions/setup-node@v1
100+
with:
101+
node-version: 10.15
102+
- run: npm install
103+
- run: npm run ctest
104+
105+
tests_mac_firefox:
106+
name: "Mac + FF"
107+
runs-on: macos-latest
108+
steps:
109+
- uses: actions/checkout@v1
110+
- uses: actions/setup-node@v1
111+
with:
112+
node-version: 10.15
113+
- run: npm install
114+
- run: npm run ftest
115+
116+
tests_mac_webkit:
117+
name: "Mac + WK"
118+
runs-on: macos-latest
119+
steps:
120+
- uses: actions/checkout@v1
121+
- uses: actions/setup-node@v1
122+
with:
123+
node-version: 10.15
124+
- run: npm install
125+
- run: npm run wtest

0 commit comments

Comments
 (0)