From 744572983f670c1303b1e51fd883915e344122f5 Mon Sep 17 00:00:00 2001 From: Derek Bailey Date: Fri, 29 May 2020 15:10:07 -0700 Subject: [PATCH] Create build_test_generate_format.yml --- .../workflow/build_test_generate_format.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflow/build_test_generate_format.yml diff --git a/.github/workflow/build_test_generate_format.yml b/.github/workflow/build_test_generate_format.yml new file mode 100644 index 00000000000..00b695cff32 --- /dev/null +++ b/.github/workflow/build_test_generate_format.yml @@ -0,0 +1,25 @@ +name: Build and Test Flatc, Generate Code and Clang Format + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: make clean + run: make clean + - name: make + run: make + - name: flattests + run: flattests + - name: generate code + run: ./tests/generate_code.sh + - name: clang format + run: . src/clang-format-all.sh