Skip to content

Commit

Permalink
ci: check resulting image size
Browse files Browse the repository at this point in the history
  • Loading branch information
grische committed Jan 28, 2025
1 parent a9a5b06 commit 74149dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ jobs:
git checkout -b patched ${{ github.event.pull_request.head.sha || github.sha }}
make BROKEN=1 GLUON_TARGETS=${{ matrix.target }} BUILD_NUMBER=${{ github.event.pull_request.number && format('pr{0}', github.event.pull_request.number) || github.run_id && format('run{0}', github.run_id) }} V=s
echo "status=success" >> $GITHUB_OUTPUT
- name: Check Image size
run: |
gluon-build/contrib/check-image-size.py --github-actions --overhead 320 gluon-build/output/meta/openwrt-profiles/${{ matrix.target }}.json
- name: Upload firmware ${{ matrix.target }}
uses: actions/upload-artifact@v4 # v4
if: steps.compile.outputs.status == 'success'
Expand Down

0 comments on commit 74149dd

Please sign in to comment.