Merge pull request #17 from petejohanson/build/zephyr-west-docker-container

Update to using prebuild docker container, for faster GH workflows.
This commit is contained in:
Pete Johanson 2020-06-12 18:02:53 -04:00 committed by GitHub
commit 2390ecda55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 13 deletions

View File

@ -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"'