Skip to content

Update build-led-control.yml #17

Update build-led-control.yml

Update build-led-control.yml #17

name: Build LED Control
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 0 1 * *" # This cron expression runs at midnight on the first day of every month
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcc-arm-linux-gnueabihf
- name: Compile C program
run: |
arm-linux-gnueabihf-gcc -o led_control/amiga_led_control_odroid led_control/amiga_led_control_odroid.c