Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cereberus Build Check #19

Closed
wants to merge 12 commits into from
28 changes: 28 additions & 0 deletions .github/workflows/build-cerberus.yml
Original file line number Diff line number Diff line change
@@ -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
Loading