Skip to content

temp enlarge bl size for testing #338

temp enlarge bl size for testing

temp enlarge bl size for testing #338

Workflow file for this run

name: pixl.js-fw
on:
push:
branches: [ "develop", "neo_v2"]
tags: ["*"]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
board: ["LCD", "OLED", "NEO"]
runs-on: ubuntu-latest
container: solosky/nrf52-sdk:latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Change Owner of Container Working Directory
run: chown root:root .
- name: build bootloader
run: cd fw && make bl RELEASE=1 BOARD=${{matrix.board}}
- name: build firmware
run: cd fw && make app RELEASE=1 BOARD=${{matrix.board}}
- name: build ota
run: cd fw/application && make ota RELEASE=1 APP_VERSION=$GITHUB_RUN_NUMBER BOARD=${{matrix.board}}
- name: build all
run: cd fw/application && make full RELEASE=1 APP_VERSION=$GITHUB_RUN_NUMBER BOARD=${{matrix.board}}
- name: upload bootloader
uses: actions/upload-artifact@v3
with:
name: pixljs_fw_${{matrix.board}}
path: fw/_build/bootloader.hex
- name: upload firmware
uses: actions/upload-artifact@v3
with:
name: pixljs_fw_${{matrix.board}}
path: fw/_build/pixljs.hex
- name: upload all
uses: actions/upload-artifact@v3
with:
name: pixljs_fw_${{matrix.board}}
path: fw/_build/pixljs_all.hex
- name: upload ota
uses: actions/upload-artifact@v3
with:
name: pixljs_fw_${{matrix.board}}
path: fw/_build/pixjs_ota_v${{github.run_number}}.zip
- name: upload fw update script
uses: actions/upload-artifact@v3
with:
name: pixljs_fw_${{matrix.board}}
path: fw/scripts/fw_update.bat
- name: upload fw readme file
uses: actions/upload-artifact@v3
with:
name: pixljs_fw_${{matrix.board}}
path: fw/docs/fw_readme.txt