mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
tools: optimize docker image and fix launchpad builds
- Earlier fixes removed .git which potentially failed building the examples as esp-idf does git describe during builds. Added them back anad build works now. - Removed the dormant bits from the docker-image - Added ninja-jobs option for better resource utilization during host tool builds - Added back the linux installation as we do need ability to run chip-tool from the container.
This commit is contained in:
@@ -34,15 +34,17 @@ jobs:
|
||||
# Disable the job in forks
|
||||
if: ${{ github.repository_owner == 'espressif' }}
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
# Platforms to build the image for
|
||||
# Using a separate runner for each image to work around space issues on a single runner
|
||||
platform:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
# Using native runners for each architecture to avoid slow QEMU emulation
|
||||
include:
|
||||
- platform: linux/amd64
|
||||
runner: ubuntu-24.04
|
||||
- platform: linux/arm64
|
||||
runner: ubuntu-24.04-arm
|
||||
runs-on: ${{ matrix.runner }}
|
||||
|
||||
steps:
|
||||
# Workaround for disk space issues on the GitHub runner
|
||||
|
||||
Reference in New Issue
Block a user