Skip to content

updated compile to fully work with nucleo board #69

updated compile to fully work with nucleo board

updated compile to fully work with nucleo board #69

name: Compile Check
on:
push:
branches:
- '**' # Triggers on every branch
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Pull Docker image
run: docker pull ghcr.io/solarcaratuva/rivanna2-env
- name: Run setup and compile commands in Docker container
run: |
docker run --rm -v ${{ github.workspace }}:/Rivanna2:Z ghcr.io/solarcaratuva/rivanna2-env /bin/bash -c "
set -e
cd /Rivanna2/
mbed-tools deploy
./compile.sh
"