@ -13,6 +13,8 @@ on:
jobs:
jobs:
build:
build:
runs-on : ubuntu-latest
runs-on : ubuntu-latest
container:
image : zmkfirmware/zmk-build-arm:2.3
strategy:
strategy:
matrix:
matrix:
board:
board:
@ -82,25 +84,13 @@ jobs:
timeout-minutes : 2
timeout-minutes : 2
continue-on-error : true
continue-on-error : true
- name : West init
- name : West init
uses : "docker://zmkfirmware/zephyr-west-action-arm:latest"
run : west init -l app
id : west-init
with:
args : 'init "-l app"'
- name : West update
- name : West update
uses : "docker://zmkfirmware/zephyr-west-action-arm:latest"
run : west update
id : west-update
with:
args : "update"
- name : West config Zephyr base
- name : West config Zephyr base
uses : "docker://zmkfirmware/zephyr-west-action-arm:latest"
run : west config --global zephyr.base-prefer configfile
id : west-config
with:
args : 'config "--global zephyr.base-prefer configfile"'
- name : West Zephyr export
- name : West Zephyr export
uses : "docker://zmkfirmware/zephyr-west-action-arm:latest"
run : west zephyr-export
id : west-zephyr-export
with:
args : "zephyr-export"
- name : Prepare variables
- name : Prepare variables
id : variables
id : variables
run : |
run : |
@ -117,10 +107,7 @@ jobs:
echo ::set-output name=shield-arg::${SHIELD_ARG}
echo ::set-output name=shield-arg::${SHIELD_ARG}
echo ::set-output name=artifact-name::${ARTIFACT_NAME}
echo ::set-output name=artifact-name::${ARTIFACT_NAME}
- name : West build
- name : West build
uses : "docker://zmkfirmware/zephyr-west-action-arm:latest"
run : west build -s app -b ${{ matrix.board }} -- ${{ steps.variables.outputs.shield-arg }}
id : west-build
with:
args : 'build "-s app -b ${{ matrix.board }} -- ${{ steps.variables.outputs.shield-arg }}'
- name : Archive build
- name : Archive build
uses : actions/upload-artifact@v2
uses : actions/upload-artifact@v2
with:
with: