diff --git a/.github/workflows/build-binary.yml b/.github/workflows/build-binary.yml new file mode 100644 index 0000000..4c406e5 --- /dev/null +++ b/.github/workflows/build-binary.yml @@ -0,0 +1,28 @@ +name: Build Binary + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + submodules: 'recursive' + - name: arm-none-eabi-gcc + uses: fiam/arm-none-eabi-gcc@v1.0.2 + with: + release: '9-2019-q4' + - name: Build Libraries + run: make lib + - name: Build + run: make + - name: Archive + uses: actions/upload-artifact@v1 + with: + name: main.bin + path: build/main.bin \ No newline at end of file diff --git a/Makefile b/Makefile index 66abf81..a83f61b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -TARGET = Main +TARGET = main CPP_SOURCES = src/main.cpp