Skip to content

Commit

Permalink
[CI] Auto-run pretty check.
Browse files Browse the repository at this point in the history
  • Loading branch information
turon committed Mar 19, 2020
1 parent 789f0d0 commit 3ea669f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: World Build

on: [push]
on: [push, pull_request]

jobs:
build:
Expand All @@ -9,5 +9,13 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Run Build
run: ./bootstrap && make -f Makefile-Standalone distcheck

- name: Run Pretty Check
run: |
sudo apt-get remove -y clang-6.0 libclang-common-6.0-dev libclang1-6.0 libllvm6.0
sudo apt install clang-format-6.0
./bootstrap
make -f Makefile-Standalone pretty-check

0 comments on commit 3ea669f

Please sign in to comment.