From fb6c67ff481c0c5405d0434ecbcbbd3616e687a0 Mon Sep 17 00:00:00 2001 From: Nicholas DePatie <80368116+nwdepatie@users.noreply.github.com> Date: Fri, 13 Oct 2023 10:06:10 -0400 Subject: [PATCH] adding cerberus build automation (#21) * adding cerberus build automation --- .github/workflows/build_cerberus.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build_cerberus.yml diff --git a/.github/workflows/build_cerberus.yml b/.github/workflows/build_cerberus.yml new file mode 100644 index 0000000..5e6a256 --- /dev/null +++ b/.github/workflows/build_cerberus.yml @@ -0,0 +1,25 @@ +name: Build Cerberus +on: [push] +jobs: + run-build: + runs-on: ubuntu-latest + container: + image: nwdepatie/ner-gcc-arm:latest + timeout-minutes: 10 + steps: + - name: Clone Cerberus + uses: actions/checkout@v3 + with: + repository: Northeastern-Electric-Racing/Cerberus + + - name: Clone Embedded-base + uses: actions/checkout@v3 + with: + path: "./Drivers/Embedded-Base" + + - name: Execute Make + run: | + if ! make; then + echo "The application has failed to build." + exit 1 # This will cause the workflow to fail + fi