|
@@ -36,13 +36,14 @@ jobs:
|
|
tag_name: "latest"
|
|
tag_name: "latest"
|
|
prerelease: true
|
|
prerelease: true
|
|
|
|
|
|
- coding_style:
|
|
|
|
|
|
+ validate:
|
|
runs-on: ubuntu-20.04
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
steps:
|
|
- name: checkout code
|
|
- name: checkout code
|
|
uses: actions/checkout@v2
|
|
uses: actions/checkout@v2
|
|
- - name: style check
|
|
|
|
|
|
+ - name: validate coding style and functionality
|
|
run: |
|
|
run: |
|
|
sudo apt-get install -q -y clang-format-11
|
|
sudo apt-get install -q -y clang-format-11
|
|
sh .ci/check-format.sh
|
|
sh .ci/check-format.sh
|
|
- shell: bash
|
|
|
|
|
|
+ bash .ci/build-n-run.sh
|
|
|
|
+ shell: bash
|