Skip to content

Commit

Permalink
Adding in initial rev of build test
Browse files Browse the repository at this point in the history
  • Loading branch information
nwdepatie committed Sep 25, 2023
1 parent 92f6f2d commit 12c4a5f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build
on: [push]
jobs:
run-build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Docker
run: |
sudo apt-get -y update
sudo apt-get -y install docker
- name: Pull Docker Image
run: |
sudo docker pull nwdepatie/ner-gcc-arm
- name: Run Docker Container
run: |
sudo docker run --rm -it --privileged \
-v "$PWD:/home/app" \
nwdepatie/ner-gcc-arm:latest bash
- name: Build Application
run: |
if ! make; then
echo "The application has failed to build."
exit 1 # This will cause the workflow to fail
fi

0 comments on commit 12c4a5f

Please sign in to comment.