Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Switch CI to Github Actions (#15403)
Browse files Browse the repository at this point in the history
  • Loading branch information
ariya committed May 13, 2020
1 parent da0ab54 commit 3172296
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 90 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:

codestyle:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: brew install clang-format
name: Install clang-format
- run: clang-format --version
- run: bash ./tools/format-code.sh
name: Run code formatter
- run: git diff --quiet HEAD
name: Check if the styling guide is followed

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

90 changes: 0 additions & 90 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit 3172296

Please sign in to comment.