Skip to content

Update build-led-control.yml #4

Update build-led-control.yml

Update build-led-control.yml #4

name: Build LED Control
on:
push:
branches:
- master
pull_request:
branches:
- master
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 libc6-dev
wget http://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz
tar -xzf argp-standalone-1.3.tar.gz
cd argp-standalone-1.3
./configure
make
sudo make install
- name: Compile C program
run: |
arm-linux-gnueabihf-gcc -o led_control/amiga_led_control_odroid led_control/amiga_led_control_odroid.c