diff --git a/.github/workflows/build-cerberus.yml b/.github/workflows/build-cerberus.yml new file mode 100644 index 0000000..df2b850 --- /dev/null +++ b/.github/workflows/build-cerberus.yml @@ -0,0 +1,28 @@ +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: "List files" + run: "ls ./Drivers" + + - name: Execute Make + run: | + if ! make; then + echo "The application has failed to build." + exit 1 # This will cause the workflow to fail + fi