mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
feat: testing craetezip script
This commit is contained in:
parent
2584e37ffa
commit
7db8063291
8
.github/workflows/build_release_bins.yml
vendored
8
.github/workflows/build_release_bins.yml
vendored
@ -44,13 +44,13 @@ jobs:
|
|||||||
pio upgrade --dev
|
pio upgrade --dev
|
||||||
pio pkg update --global
|
pio pkg update --global
|
||||||
- name: Update build command
|
- name: Update build command
|
||||||
|
working-directory: ./ESP
|
||||||
run: |
|
run: |
|
||||||
sed -i '/\[env\]/p; s/\[env\]/upload_protocol = custom/' ./ESP/platformio.ini
|
sed -i '/\[env\]/p; s/\[env\]/upload_protocol = custom/' platformio.ini
|
||||||
sed -i '/\[env\]/p; s/\[env\]/upload_command = \$PYTHONEXE .\/tools\/createzip.py \$FLASH_EXTRA_IMAGES \$ESP32_APP_OFFSET \$SOURCE/' ./ESP/platformio.ini
|
sed -i '/\[env\]/p; s/\[env\]/upload_command = \$PYTHONEXE .\/tools\/createzip.py \$FLASH_EXTRA_IMAGES \$ESP32_APP_OFFSET \$SOURCE/' platformio.ini
|
||||||
- name: Build OpenIris Firmware
|
- name: Build OpenIris Firmware
|
||||||
working-directory: ./ESP
|
working-directory: ./ESP
|
||||||
run: |
|
run: |
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
echo "::group::platformio.ini"
|
echo "::group::platformio.ini"
|
||||||
cat platformio.ini
|
cat platformio.ini
|
||||||
@ -58,7 +58,7 @@ jobs:
|
|||||||
echo "::group::pio run"
|
echo "::group::pio run"
|
||||||
pio run --environment ${{ matrix.target_name }}${{ matrix.target_build_type }} --target upload
|
pio run --environment ${{ matrix.target_name }}${{ matrix.target_build_type }} --target upload
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
unzip -l ./build/firmware.zip
|
unzip -l ./build/openiris.zip
|
||||||
|
|
||||||
- name: Archive Firmware name File
|
- name: Archive Firmware name File
|
||||||
# create an environment variable with the name of the firmware file by catting the firmware_name.txt file
|
# create an environment variable with the name of the firmware file by catting the firmware_name.txt file
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user