Skip to content

Commit

Permalink
Merge pull request #38 from linuxgemini/githubactions
Browse files Browse the repository at this point in the history
Create initial CI configuration
  • Loading branch information
iceman1001 authored Sep 12, 2020
2 parents 2a9dcfa + edb9866 commit 6b5857e
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Firmware Build

on:
push:
paths:
- "Firmware/**"
pull_request:
paths:
- "Firmware/**"

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Cleanup similar named things from root
run: rm Chameleon*
- name: Print Kernel Ver
run: uname -a
- name: Update APT
run: sudo apt-get update -yqq
- name: Install AVR GCC Suite
run: sudo apt-get install -yqq make autoconf build-essential ca-certificates pkg-config libreadline-dev gcc-avr binutils-avr gdb-avr avr-libc avrdude
- name: Make Firmware
run: make
working-directory: Firmware/Chameleon-Mini/
- name: Move hex file to root
run: mv Chameleon*.hex $GITHUB_WORKSPACE/
working-directory: Firmware/Chameleon-Mini/
- name: Move eep file to root
run: mv Chameleon*.eep $GITHUB_WORKSPACE/
working-directory: Firmware/Chameleon-Mini/
- name: Upload Build Artifact
uses: actions/upload-artifact@v2.1.4
with:
name: "ChameleonBuild"
path: "Chameleon*.*"

0 comments on commit 6b5857e

Please sign in to comment.