mirror of
https://github.com/okalachev/flix.git
synced 2025-07-27 09:39:33 +00:00
Upload built firmware binaries as artifact
This commit is contained in:
parent
2d77317abc
commit
31f5e1efbb
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -15,7 +15,14 @@ jobs:
|
|||||||
- name: Install Arduino CLI
|
- name: Install Arduino CLI
|
||||||
run: curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh
|
run: curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh
|
||||||
- name: Build firmware
|
- name: Build firmware
|
||||||
|
env:
|
||||||
|
ARDUINO_SKETCH_ALWAYS_EXPORT_BINARIES: 1
|
||||||
run: make
|
run: make
|
||||||
|
- name: Upload binaries
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: firmware-binary
|
||||||
|
path: flix/build
|
||||||
- name: Build firmware without Wi-Fi
|
- name: Build firmware without Wi-Fi
|
||||||
run: sed -i 's/^#define WIFI_ENABLED 1$/#define WIFI_ENABLED 0/' flix/flix.ino && make
|
run: sed -i 's/^#define WIFI_ENABLED 1$/#define WIFI_ENABLED 0/' flix/flix.ino && make
|
||||||
- name: Check c_cpp_properties.json
|
- name: Check c_cpp_properties.json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user