From 9f64f22573e5e60c5a23ebd611d518ec50a732ad Mon Sep 17 00:00:00 2001 From: Ariya Hidayat Date: Sun, 31 May 2020 20:23:30 -0700 Subject: [PATCH] GitHub Actions: split the workflows (#15403) --- .github/workflows/amd64_linux_clang.yml | 20 +++++++++++++ .github/workflows/amd64_linux_gcc.yml | 21 +++++++++++++ .github/workflows/tests.yml | 40 ------------------------- 3 files changed, 41 insertions(+), 40 deletions(-) create mode 100644 .github/workflows/amd64_linux_clang.yml create mode 100644 .github/workflows/amd64_linux_gcc.yml delete mode 100644 .github/workflows/tests.yml 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 -