summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-06-08 11:28:52 -0400
committerPete Johanson <peter@peterjohanson.com>2020-06-08 11:28:52 -0400
commit41115274e189bcbad244a7ee9e91a99da398a18f (patch)
treecd2e44353c42ea6ad7df59bd291526c795598d9d /.github/workflows
parentc1cc46c3b2019a3ea268fe411229ba631d76d876 (diff)
Initial exploration of GH actions.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..d7c9b97
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,39 @@
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ name: Basic build of the ZMK firmware
+ steps:
+ # To use this repository's private action,
+ # you must check out the repository
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: West Init
+ uses: ./.github/actions/zephyr-west # Uses an action in the root directory
+ id: west-init
+ with:
+ command: 'init'
+ command-args: '-l .'
+ - name: West Update
+ uses: ./.github/actions/zephyr-west # Uses an action in the root directory
+ id: west-update
+ with:
+ command: 'update'
+ - name: West Config Zephyr Base
+ uses: ./.github/actions/zephyr-west # Uses an action in the root directory
+ id: west-config
+ with:
+ command: 'config'
+ command-args: '--global zephyr.base-prefer configfile'
+ - name: West Zephyr Export
+ uses: ./.github/actions/zephyr-west # Uses an action in the root directory
+ id: west-zephyr-export
+ with:
+ command: 'zephyr-export'
+ - name: West Build
+ uses: ./.github/actions/zephyr-west # Uses an action in the root directory
+ id: west-zephyr-export
+ with:
+ command: 'build'
+ command-args: '-b nucleo_wb55rg -- -DSHIELD=petejohanson_handwire'