summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-06-16 23:10:53 -0400
committerGitHub <noreply@github.com>2020-06-16 23:10:53 -0400
commitc9b22e55fdf2b25b1b4c15e613c193eec917fb42 (patch)
tree7d5c29db990a5539e8958586f09ae198b4b18de4 /.github
parentd0a6df9d9ce014f58c3a5a733d66eeccab394dc2 (diff)
parenta087a466e95565d7d8326f8435ea29baf6219e46 (diff)
Merge pull request #14 from zmkfirmware/boards/nice-nano-prep
Initial basic work on nice!nano board support.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml25
1 files changed, 17 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 11b9f39..7b2aa0c 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,33 @@ 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"'
+ - name: Archive Build
+ uses: actions/upload-artifact@v2
+ if: ${{ matrix.board == 'nice_nano' }}
+ with:
+ name: "${{ matrix.board }}-zmk-uf2"
+ path: build/zephyr/zmk.uf2