Browse Source

Build matrix with nice_nano and proton_c boards.

xmkb
Pete Johanson 5 years ago
parent
commit
05591ff37b
  1. 19
      .github/workflows/build.yml

19
.github/workflows/build.yml

@ -6,6 +6,9 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Build Test name: Build Test
strategy:
matrix:
board: [proton_c, nice_nano]
steps: steps:
# To use this repository's private action, # To use this repository's private action,
# you must check out the repository # you must check out the repository
@ -27,27 +30,27 @@ jobs:
${{ runner.os }}-build- ${{ runner.os }}-build-
${{ runner.os }}- ${{ runner.os }}-
- name: West Init - name: West Init
uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest' uses: "docker://zmkfirmware/zephyr-west-action-arm:latest"
id: west-init id: west-init
with: with:
args: 'init "-l app"' args: 'init "-l app"'
- name: West Update - name: West Update
uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest' uses: "docker://zmkfirmware/zephyr-west-action-arm:latest"
id: west-update id: west-update
with: with:
args: 'update' args: "update"
- name: West Config Zephyr Base - name: West Config Zephyr Base
uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest' uses: "docker://zmkfirmware/zephyr-west-action-arm:latest"
id: west-config id: west-config
with: with:
args: 'config "--global zephyr.base-prefer configfile"' args: 'config "--global zephyr.base-prefer configfile"'
- name: West Zephyr Export - name: West Zephyr Export
uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest' uses: "docker://zmkfirmware/zephyr-west-action-arm:latest"
id: west-zephyr-export id: west-zephyr-export
with: with:
args: 'zephyr-export' args: "zephyr-export"
- name: West Build - name: West Build
uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest' uses: "docker://zmkfirmware/zephyr-west-action-arm:latest"
id: west-build id: west-build
with: with:
args: 'build "-s app -b proton_c -- -DSHIELD=petejohanson_proton_handwire"' args: 'build "-s app -b ${{ matrix.board }} -- -DSHIELD=petejohanson_proton_handwire"'

Loading…
Cancel
Save