Skip to content

wscript: cap kernel RAM on snowy_emery and spalding_gabbro to match real [FIRM-1270] #2016

wscript: cap kernel RAM on snowy_emery and spalding_gabbro to match real [FIRM-1270]

wscript: cap kernel RAM on snowy_emery and spalding_gabbro to match real [FIRM-1270] #2016

Workflow file for this run

name: Build Firmware (QEMU)
on:
push:
branches: [main]
pull_request:
branches: [main]
paths:
- '.github/workflows/build-qemu.yml'
- 'resources/**'
- 'sdk/**'
- 'src/**'
- 'stored_apps/**'
- 'tools/**'
- 'third_party/**'
- 'waftools/**'
- 'waf'
- 'wscript'
jobs:
build:
runs-on: ubuntu-24.04
container:
image: ghcr.io/pebble-dev/pebbleos-docker:v1
strategy:
matrix:
board: ["snowy_bb2", "spalding_bb2", "silk_bb2", "silk_flint", "snowy_emery", "spalding_gabbro"]
steps:
- name: Mark Github workspace as safe
run: git config --system --add safe.directory "${GITHUB_WORKSPACE}"
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Install Python dependencies
run: |
pip install -U pip
pip install -r requirements.txt
- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- name: Node modules cache
uses: actions/cache@v4
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('third_party/jerryscript/jerryscript/js_tooling/package.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Configure
run: ./waf configure --board ${{ matrix.board }} --qemu
- name: Build
run: ./waf build qemu_image_micro qemu_image_spi
- name: Store
uses: actions/upload-artifact@v4
with:
name: firmware-${{ matrix.board }}-qemu
path: |
build/qemu_micro_flash.bin
build/qemu_spi_flash.bin