Update README with new images of Stainless Steel casing etc. #276
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
container: ghcr.io/zephyrproject-rtos/ci:v0.26.2 | |
env: | |
CMAKE_PREFIX_PATH: /opt/toolchains | |
strategy: | |
matrix: | |
built_type: [debug, release] | |
board: [zswatch_nrf5340_cpuapp@1, zswatch_nrf5340_cpuapp@3, native_posix, nrf5340dk_nrf5340_cpuapp] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: ZSWatch | |
submodules: recursive | |
- name: Dependencies | |
run: | | |
sudo apt update | |
sudo apt install astyle | |
- name: Initialize | |
working-directory: ZSWatch | |
run: | | |
west init -l app | |
west update -o=--depth=1 -n | |
- name: Style | |
working-directory: ZSWatch | |
run: | | |
west format --dry-run | |
- name: Build firmware | |
working-directory: ZSWatch | |
run: | | |
west build app -p -b ${{ matrix.board }} -- -DOVERLAY_CONFIG=boards/${{ matrix.built_type }}.conf |