diff options
| -rw-r--r-- | .github/workflows/main2.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml index f8caf8c..6c9d401 100644 --- a/.github/workflows/main2.yml +++ b/.github/workflows/main2.yml @@ -77,8 +77,8 @@ jobs: - name: Install MCUBoot if: steps.cache-mcuboot.outputs.cache-hit != 'true' # Install MCUBoot if not found in cache - run: cd ${{ runner.temp }} && git clone --branch v1.5.0 https://github.com/JuulLabs-OSS/mcuboot && pip3 install --user -r mcuboot/scripts/requirements.txt - + run: cd ${{ runner.temp }} && git clone --branch v1.5.0 https://github.com/JuulLabs-OSS/mcuboot + ######################################################################################### # Checkout @@ -105,6 +105,9 @@ jobs: - name: Make pinetime-mcuboot-app run: cd build && make pinetime-mcuboot-app + - name: Install imgtool dependencies + run: pip3 install --user -r ${{ runner.temp }}/mcuboot/scripts/requirements.txt + - name: Create firmware image run: ${{ runner.temp }}/mcuboot/scripts/imgtool.py create --align 4 --version 1.0.0 --header-size 32 --slot-size 475136 --pad-header build/src/pinetime-mcuboot-app.bin build/src/pinetime-mcuboot-app.img |
