2020-01-29 05:04:51 +03:00
|
|
|
name: WebKit Linux Tests
|
2019-12-12 04:20:46 +03:00
|
|
|
|
2020-01-10 01:29:19 +03:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2019-12-12 04:20:46 +03:00
|
|
|
|
|
|
|
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: |
|
2020-01-18 06:40:42 +03:00
|
|
|
sudo apt update
|
2020-01-18 08:43:28 +03:00
|
|
|
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
|
2019-12-12 04:20:46 +03:00
|
|
|
sudo apt-get install xvfb
|
|
|
|
|
|
|
|
- name: npm install, build, and test
|
|
|
|
run: |
|
2019-12-12 04:22:51 +03:00
|
|
|
npm install
|
2020-01-18 07:13:44 +03:00
|
|
|
# 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
|
2020-01-18 06:46:25 +03:00
|
|
|
|
2020-01-29 05:04:51 +03:00
|
|
|
xvfb-run --auto-servernum npm run wtest
|
2019-12-12 04:20:46 +03:00
|
|
|
env:
|
|
|
|
CI: true
|