1
0
forked from me/IronOS-Meta

Build flipped images in CI

This commit is contained in:
Ben V. Brown
2022-08-06 21:35:34 +10:00
parent fbf0a8ac63
commit 32e4db09ac
2 changed files with 5 additions and 0 deletions

View File

@@ -30,6 +30,9 @@ jobs:
- name: build all files for the device
run: cd Bootup\ Logos && ./run.sh /tmp/${{ matrix.model }}/ ${{matrix.args}}
- name: build all files for the device Flipped
run: cd Bootup\ Logos && ./run.sh /tmp/${{ matrix.model }}/ ${{matrix.args}} -r
- name: build logo erase file
run: cd Bootup\ Logos && python3 img2logo.py -E erase_stored_image /tmp/${{ matrix.model }}/ ${{matrix.args}}

View File

@@ -238,6 +238,8 @@ def img2hex(
deviceSettings = PinecilSettings
# Generate both possible outputs
output_name = output_filename_base + os.path.basename(input_filename)
if flip:
output_name +="_L"
DFUOutput.writeFile(
output_name + ".dfu",
data,