forked from xerpi/firm_linux_loader
-
Notifications
You must be signed in to change notification settings - Fork 8
26 lines (25 loc) · 1.31 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: "build"
on:
push:
branches:
- master
jobs:
build:
runs-on: "ubuntu-20.04"
steps:
- uses: "actions/checkout@v2"
- run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-7`" >> $GITHUB_ENV
- run: |
sudo apt-get install -y gcc-arm-none-eabi binutils-arm-none-eabi build-essential git python3-pip
- run: "pip3 install -U git+https://github.com/TuxSH/firmtool.git"
- run: "make"
env:
CC: "arm-none-eabi-gcc"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development build ${{ env.SHORT_SHA }}"
files: |
firm_linux_loader.firm