Browse Source

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

Update to using prebuild docker container, for faster GH workflows.
xmkb
Pete Johanson 5 years ago committed by GitHub
parent
commit
2390ecda55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 23
      .github/workflows/build.yml

23
.github/workflows/build.yml

@ -27,30 +27,27 @@ jobs:
${{ runner.os }}-build- ${{ runner.os }}-build-
${{ runner.os }}- ${{ runner.os }}-
- name: West Init - name: West Init
uses: zmkfirmware/zephyr-west-action@v0.1.0 uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
id: west-init id: west-init
with: with:
command: 'init' args: 'init "-l app"'
command-args: '-l app'
- name: West Update - name: West Update
uses: zmkfirmware/zephyr-west-action@v0.1.0 uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
id: west-update id: west-update
with: with:
command: 'update' args: 'update'
- name: West Config Zephyr Base - name: West Config Zephyr Base
uses: zmkfirmware/zephyr-west-action@v0.1.0 uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
id: west-config id: west-config
with: with:
command: 'config' args: 'config "--global zephyr.base-prefer configfile"'
command-args: '--global zephyr.base-prefer configfile'
- name: West Zephyr Export - name: West Zephyr Export
uses: zmkfirmware/zephyr-west-action@v0.1.0 uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
id: west-zephyr-export id: west-zephyr-export
with: with:
command: 'zephyr-export' args: 'zephyr-export'
- name: West Build - name: West Build
uses: zmkfirmware/zephyr-west-action@v0.1.0 uses: 'docker://zmkfirmware/zephyr-west-action-arm:latest'
id: west-build id: west-build
with: with:
command: 'build' args: 'build "-s app -b proton_c -- -DSHIELD=petejohanson_proton_handwire"'
command-args: '-s app -b proton_c -- -DSHIELD=petejohanson_proton_handwire'

Loading…
Cancel
Save