diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..57408ad --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +name: Build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Check out code + uses: actions/checkout@v3 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + + - name: Run build.sh + run: build.sh diff --git a/.github/workflows/code-style.yml b/.github/workflows/code-style.yml index f3279dd..9fead13 100644 --- a/.github/workflows/code-style.yml +++ b/.github/workflows/code-style.yml @@ -22,7 +22,7 @@ jobs: sudo apt-get install -y clang-format-14 - name: Run clang-format - run: scripts/clang_format_all.sh + run: clang_format_all.sh - name: Check formatting run: git diff --exit-code --diff-filter=d --color