summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-06-16 22:40:47 -0400
committerPete Johanson <peter@peterjohanson.com>2020-06-16 22:40:47 -0400
commit05591ff37bad4701cdebe68e61b74ad4f4b45f26 (patch)
treeb49029150d27edfa55cc783e7c47592190f84f3e
parent8ee9a374988fdf5c0d6c28ff67a5c1cfaca49f66 (diff)
Build matrix with nice_nano and proton_c boards.
-rw-r--r--.github/workflows/build.yml19
1 files changed, 11 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 11b9f39..a703643 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -6,6 +6,9 @@ jobs:
build:
runs-on: ubuntu-latest
name: Build Test
+ strategy:
+ matrix:
+ board: [proton_c, nice_nano]
steps:
# To use this repository's private action,
# you must check out the repository
@@ -27,27 +30,27 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- name: West Init
- uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
+ uses: "docker://zmkfirmware/zephyr-west-action-arm:latest"
id: west-init
with:
args: 'init "-l app"'
- name: West Update
- uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
+ uses: "docker://zmkfirmware/zephyr-west-action-arm:latest"
id: west-update
with:
- args: 'update'
+ args: "update"
- name: West Config Zephyr Base
- uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
+ uses: "docker://zmkfirmware/zephyr-west-action-arm:latest"
id: west-config
with:
args: 'config "--global zephyr.base-prefer configfile"'
- name: West Zephyr Export
- uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
+ uses: "docker://zmkfirmware/zephyr-west-action-arm:latest"
id: west-zephyr-export
with:
- args: 'zephyr-export'
+ args: "zephyr-export"
- name: West Build
- uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
+ uses: "docker://zmkfirmware/zephyr-west-action-arm:latest"
id: west-build
with:
- args: 'build "-s app -b proton_c -- -DSHIELD=petejohanson_proton_handwire"'
+ args: 'build "-s app -b ${{ matrix.board }} -- -DSHIELD=petejohanson_proton_handwire"'