From c290d77e2aa9fca688643001a85d2166226756e1 Mon Sep 17 00:00:00 2001 From: dyldonahue <98500199+dyldonahue@users.noreply.github.com> Date: Tue, 31 Oct 2023 12:02:57 -0400 Subject: [PATCH] added build check added build check --- .github/workflows/build-check.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/build-check.yml diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.yml new file mode 100644 index 0000000..2cb67d6 --- /dev/null +++ b/.github/workflows/build-check.yml @@ -0,0 +1,20 @@ +name: Build +on: [push] +jobs: + run-build: + runs-on: ubuntu-latest + container: + image: nwdepatie/ner-gcc-arm:latest + timeout-minutes: 10 + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Execute Make + run: | + if ! make; then + echo "The application has failed to build." + exit 1 # This will cause the workflow to fail + fi