summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-06-12 18:02:53 -0400
committerGitHub <noreply@github.com>2020-06-12 18:02:53 -0400
commit2390ecda551283743a4d0845bbc0d993ac32f38f (patch)
tree0db97ed02a21133cff0f32268d1cd3764dd4a2f9
parent207a712f3e53588a4eb97987ff5cb58da30f6474 (diff)
parentc4082bd31e44b09d4758a502720082da8a7c79cc (diff)
Merge pull request #17 from petejohanson/build/zephyr-west-docker-container
Update to using prebuild docker container, for faster GH workflows.
-rw-r--r--.github/workflows/build.yml23
1 files changed, 10 insertions, 13 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b909dcf..11b9f39 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -27,30 +27,27 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- name: West Init
- uses: zmkfirmware/zephyr-west-action@v0.1.0
+ uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
id: west-init
with:
- command: 'init'
- command-args: '-l app'
+ args: 'init "-l app"'
- name: West Update
- uses: zmkfirmware/zephyr-west-action@v0.1.0
+ uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
id: west-update
with:
- command: 'update'
+ args: 'update'
- name: West Config Zephyr Base
- uses: zmkfirmware/zephyr-west-action@v0.1.0
+ uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
id: west-config
with:
- command: 'config'
- command-args: '--global zephyr.base-prefer configfile'
+ args: 'config "--global zephyr.base-prefer configfile"'
- name: West Zephyr Export
- uses: zmkfirmware/zephyr-west-action@v0.1.0
+ uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
id: west-zephyr-export
with:
- command: 'zephyr-export'
+ args: 'zephyr-export'
- name: West Build
- uses: zmkfirmware/zephyr-west-action@v0.1.0
+ uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
id: west-build
with:
- command: 'build'
- command-args: '-s app -b proton_c -- -DSHIELD=petejohanson_proton_handwire'
+ args: 'build "-s app -b proton_c -- -DSHIELD=petejohanson_proton_handwire"'