devops: re-factor github workflow internal structure (#956)
This commit is contained in:
parent
5f24205922
commit
5956df58f8
37
.github/workflows/chromium-linux.yml
vendored
37
.github/workflows/chromium-linux.yml
vendored
|
|
@ -1,37 +0,0 @@
|
|||
name: "tests: Linux + CR"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: install required packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libgbm-dev
|
||||
sudo apt-get install xvfb
|
||||
|
||||
- name: npm install, build, and test
|
||||
run: |
|
||||
npm install
|
||||
xvfb-run --auto-servernum npm run ctest
|
||||
env:
|
||||
CI: true
|
||||
32
.github/workflows/chromium-mac.yml
vendored
32
.github/workflows/chromium-mac.yml
vendored
|
|
@ -1,32 +0,0 @@
|
|||
name: "tests: Mac + CR"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: macos
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: npm install, and test
|
||||
run: |
|
||||
npm install
|
||||
npm run ctest
|
||||
env:
|
||||
CI: true
|
||||
32
.github/workflows/chromium-windows.yml
vendored
32
.github/workflows/chromium-windows.yml
vendored
|
|
@ -1,32 +0,0 @@
|
|||
name: "tests: Win + CR"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: npm install, and test
|
||||
run: |
|
||||
npm install
|
||||
npm run ctest
|
||||
env:
|
||||
CI: true
|
||||
37
.github/workflows/docs-and-lint.yml
vendored
37
.github/workflows/docs-and-lint.yml
vendored
|
|
@ -1,37 +0,0 @@
|
|||
name: "docs & lint"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: install required packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libgbm-dev
|
||||
sudo apt-get install xvfb
|
||||
|
||||
- name: npm install, build, and test
|
||||
run: |
|
||||
npm install
|
||||
npm run lint
|
||||
env:
|
||||
CI: true
|
||||
35
.github/workflows/firefox-linux.yml
vendored
35
.github/workflows/firefox-linux.yml
vendored
|
|
@ -1,35 +0,0 @@
|
|||
name: "tests: Linux + FF"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: install required packages
|
||||
run: |
|
||||
sudo apt-get install xvfb
|
||||
|
||||
- name: npm install, build, and test
|
||||
run: |
|
||||
npm install
|
||||
xvfb-run --auto-servernum npm run ftest
|
||||
env:
|
||||
CI: true
|
||||
32
.github/workflows/firefox-mac.yml
vendored
32
.github/workflows/firefox-mac.yml
vendored
|
|
@ -1,32 +0,0 @@
|
|||
name: "tests: Mac + FF"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: macos
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: npm install, and test
|
||||
run: |
|
||||
npm install
|
||||
npm run ftest
|
||||
env:
|
||||
CI: true
|
||||
32
.github/workflows/firefox-windows.yml
vendored
32
.github/workflows/firefox-windows.yml
vendored
|
|
@ -1,32 +0,0 @@
|
|||
name: "tests: Win + FF"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: npm install, and test
|
||||
run: |
|
||||
npm install
|
||||
npm run ftest
|
||||
env:
|
||||
CI: true
|
||||
29
.github/workflows/infra.yml
vendored
Normal file
29
.github/workflows/infra.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
name: "infra"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
env:
|
||||
CI: true
|
||||
|
||||
jobs:
|
||||
doc-and-lint:
|
||||
name: "docs & lint"
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.15
|
||||
- name: install required packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libgbm-dev
|
||||
sudo apt-get install xvfb
|
||||
- run: npm install
|
||||
- run: npm run lint
|
||||
125
.github/workflows/tests.yml
vendored
Normal file
125
.github/workflows/tests.yml
vendored
Normal file
|
|
@ -0,0 +1,125 @@
|
|||
name: tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
env:
|
||||
CI: true
|
||||
|
||||
jobs:
|
||||
tests_linux_chromium:
|
||||
name: "Linux + CR"
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.15
|
||||
- name: install required packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libgbm-dev xvfb
|
||||
- run: npm install
|
||||
- run: xvfb-run --auto-servernum npm run ctest
|
||||
|
||||
tests_linux_firefox:
|
||||
name: "Linux + FF"
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.15
|
||||
- name: install required packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install xvfb
|
||||
- run: npm install
|
||||
- run: xvfb-run --auto-servernum npm run ftest
|
||||
|
||||
tests_linux_webkit:
|
||||
name: "Linux + WK"
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.15
|
||||
- name: install required packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
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
|
||||
sudo apt-get install xvfb
|
||||
- run: npm install
|
||||
- run: xvfb-run --auto-servernum npm run wtest
|
||||
|
||||
tests_win_chromium:
|
||||
name: "Win + CR"
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.15
|
||||
- run: npm install
|
||||
- run: npm run ctest
|
||||
|
||||
tests_win_firefox:
|
||||
name: "Win + FF"
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.15
|
||||
- run: npm install
|
||||
- run: npm run ftest
|
||||
|
||||
tests_win_webkit:
|
||||
name: "Win + WK"
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.15
|
||||
- run: npm install
|
||||
- run: npm run wtest
|
||||
|
||||
tests_mac_chromium:
|
||||
name: "Mac + CR"
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.15
|
||||
- run: npm install
|
||||
- run: npm run ctest
|
||||
|
||||
tests_mac_firefox:
|
||||
name: "Mac + FF"
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.15
|
||||
- run: npm install
|
||||
- run: npm run ftest
|
||||
|
||||
tests_mac_webkit:
|
||||
name: "Mac + WK"
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10.15
|
||||
- run: npm install
|
||||
- run: npm run wtest
|
||||
40
.github/workflows/webkit-linux.yml
vendored
40
.github/workflows/webkit-linux.yml
vendored
|
|
@ -1,40 +0,0 @@
|
|||
name: "tests: Linux + WK"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: install required packages
|
||||
run: |
|
||||
sudo apt update
|
||||
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
|
||||
sudo apt-get install xvfb
|
||||
|
||||
- name: npm install, build, and test
|
||||
run: |
|
||||
npm install
|
||||
# The following logs LDD status of all webkit-wpe shared objects and executables.
|
||||
# pushd .local-webkit/$(ls .local-webkit)/minibrowser-wpe; ls -1 | grep -v pw_run.sh | LD_LIBRARY_PATH=$PWD xargs ldd; popd
|
||||
|
||||
xvfb-run --auto-servernum npm run wtest
|
||||
env:
|
||||
CI: true
|
||||
32
.github/workflows/webkit-mac.yml
vendored
32
.github/workflows/webkit-mac.yml
vendored
|
|
@ -1,32 +0,0 @@
|
|||
name: "tests: Mac + WK"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: macos
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: npm install, and test
|
||||
run: |
|
||||
npm install
|
||||
npm run wtest
|
||||
env:
|
||||
CI: true
|
||||
32
.github/workflows/webkit-windows.yml
vendored
32
.github/workflows/webkit-windows.yml
vendored
|
|
@ -1,32 +0,0 @@
|
|||
name: "tests: Win + WK"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: npm install, and test
|
||||
run: |
|
||||
npm install
|
||||
npm run wtest
|
||||
env:
|
||||
CI: true
|
||||
Loading…
Reference in a new issue