Merge pull request #17 from microsoft/dev/younghyunkim/CI
Adding CI pipeline
This commit is contained in:
Коммит
e7388d4096
|
@ -2,9 +2,9 @@ name: C/C++ CI
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [ main, "dev/**" ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [ main, "dev/**" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -13,5 +13,11 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: make
|
||||
with:
|
||||
submodules: recursive # Ensures that submodules are also checked out
|
||||
|
||||
- name: Static analysis
|
||||
run: find . -name '*.c' | xargs clang-tidy --quiet
|
||||
|
||||
- name: Run make to build project
|
||||
run: make
|
||||
|
|
Загрузка…
Ссылка в новой задаче