forked from akuker/adbuino
-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (34 loc) · 961 Bytes
/
quokkadb_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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build QuokkADB firmware
on:
push:
workflow_dispatch:
jobs:
build_quokkadb:
name: Build firmware on Ubuntu 22.04
runs-on: ubuntu-22.04
steps:
- name: Check out code from GitHub
uses: actions/checkout@v4
with:
path: quokkadb
fetch-depth: "0"
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install -y python3-pip
- name: Install platformio
run: |
sudo pip install platformio
- name: Build firmware
run: |
cd quokkadb/src/firmware
pio run -ve quokkadb
- name: Rename firmware files
run: |
cd quokkadb/src/firmware
utils/rename_quokkadb_binaries.sh
- name: Upload binaries into build artifacts
uses: actions/upload-artifact@v4
with:
path: quokkadb/src/firmware/distrib/*
name: QuokkADB binaries