diff --git a/.github/workflows/amd64_linux_clang.yml b/.github/workflows/amd64_linux_clang.yml new file mode 100644 index 0000000000..6428bd0294 --- /dev/null +++ b/.github/workflows/amd64_linux_clang.yml @@ -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 diff --git a/.github/workflows/amd64_linux_gcc.yml b/.github/workflows/amd64_linux_gcc.yml new file mode 100644 index 0000000000..6e497ed923 --- /dev/null +++ b/.github/workflows/amd64_linux_gcc.yml @@ -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 + diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml deleted file mode 100644 index bf1fa13378..0000000000 --- a/.github/workflows/tests.yml +++ /dev/null @@ -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 -