Skip to content

Trying to use a container as a base #7

Trying to use a container as a base

Trying to use a container as a base #7

Workflow file for this run

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: |
sudo docker exec -it \
ner-gcc-arm:latest sh -c
"if ! make; then
echo "The application has failed to build."
exit 1 # This will cause the workflow to fail
fi"