1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-09-11 12:55:33 +03:00

GitHub Actions: split the workflows (#15403)

This commit is contained in:
Ariya Hidayat 2020-05-31 20:23:30 -07:00
parent 08d49a7c19
commit 9f64f22573
3 changed files with 41 additions and 40 deletions

20
.github/workflows/amd64_linux_clang.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: amd64_linux_clang
on: [push, pull_request]
jobs:
amd64_linux_clang:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- run: sudo apt -y -qq update
- run: sudo apt install -y clang cmake qt5-default libqt5webkit5-dev python
name: Install requirements
- run: clang++ --version && cmake --version && qmake --version && python --version
name: Display tools version
- run: CC=clang CXX=clang++ ./configure
- run: make
- run: file ./bin/phantomjs
- run: ./bin/phantomjs --version
- run: make check

21
.github/workflows/amd64_linux_gcc.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: amd64_linux_gcc
on: [push, pull_request]
jobs:
amd64_linux_gcc:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- run: sudo apt -y -qq update
- run: sudo apt install -y g++ cmake qt5-default libqt5webkit5-dev python
name: Install requirements
- run: g++ --version && cmake --version && qmake --version && python --version
name: Display tools version
- run: ./configure
- run: make
- run: file ./bin/phantomjs
- run: ./bin/phantomjs --version
- run: make check

View File

@ -1,40 +0,0 @@
name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
amd64_linux_clang:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- run: sudo apt -y -qq update
- run: sudo apt install -y clang cmake qt5-default libqt5webkit5-dev python
name: Install requirements
- run: clang++ --version && cmake --version && qmake --version && python --version
name: Display tools version
- run: CC=clang CXX=clang++ ./configure
- run: make
- run: file ./bin/phantomjs
- run: ./bin/phantomjs --version
- run: make check
amd64_linux_gcc:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- run: sudo apt -y -qq update
- run: sudo apt install -y g++ cmake qt5-default libqt5webkit5-dev python
name: Install requirements
- run: g++ --version && cmake --version && qmake --version && python --version
name: Display tools version
- run: ./configure
- run: make
- run: file ./bin/phantomjs
- run: ./bin/phantomjs --version
- run: make check