-
Notifications
You must be signed in to change notification settings - Fork 2
29 lines (28 loc) · 907 Bytes
/
ci.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
27
28
29
on: [push, pull_request]
name: Continuous Integration
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install avr-gcc
run: |
curl -L -o /tmp/avr-gcc-14.1.0-x64-linux.tar.bz2 https://github.com/ZakKemble/avr-gcc-build/releases/download/v14.1.0-1/avr-gcc-14.1.0-x64-linux.tar.bz2
echo Extracting avr-gcc archive
tar xf /tmp/avr-gcc-14.1.0-x64-linux.tar.bz2 --directory /opt
echo "PATH=/opt/avr-gcc-14.1.0-x64-linux/bin:$(echo $PATH)" >> $GITHUB_ENV
- name: make
run: |
cd fw
make
- uses: actions/upload-artifact@v4
with:
name: beef-fw
path: fw/beef.hex
if-no-files-found: error