|
|
@ -9,33 +9,39 @@ jobs: |
|
|
|
# you must check out the repository |
|
|
|
# you must check out the repository |
|
|
|
- name: Checkout |
|
|
|
- name: Checkout |
|
|
|
uses: actions/checkout@v2 |
|
|
|
uses: actions/checkout@v2 |
|
|
|
|
|
|
|
- name: Move files into workspace subdirectory |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
mkdir -p workspace/zmk |
|
|
|
|
|
|
|
mv * workspace/zmk || true |
|
|
|
- name: West Init |
|
|
|
- name: West Init |
|
|
|
uses: ./.github/actions/zephyr-west # Uses an action in the root directory |
|
|
|
uses: ./.github/actions/zephyr-west # Uses an action in the root directory |
|
|
|
id: west-init |
|
|
|
id: west-init |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: 'init' |
|
|
|
command: 'init' |
|
|
|
command-args: '-l .' |
|
|
|
command-args: '-l workspace/zmk' |
|
|
|
- name: list files |
|
|
|
|
|
|
|
run: 'ls ../' |
|
|
|
|
|
|
|
- name: West Update |
|
|
|
- name: West Update |
|
|
|
uses: ./.github/actions/zephyr-west # Uses an action in the root directory |
|
|
|
uses: ./.github/actions/zephyr-west # Uses an action in the root directory |
|
|
|
id: west-update |
|
|
|
id: west-update |
|
|
|
|
|
|
|
working-directory: 'workspace/zmk' |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: 'update' |
|
|
|
command: 'update' |
|
|
|
- name: West Config Zephyr Base |
|
|
|
- name: West Config Zephyr Base |
|
|
|
uses: ./.github/actions/zephyr-west # Uses an action in the root directory |
|
|
|
uses: ./.github/actions/zephyr-west # Uses an action in the root directory |
|
|
|
id: west-config |
|
|
|
id: west-config |
|
|
|
|
|
|
|
working-directory: 'workspace/zmk' |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: 'config' |
|
|
|
command: 'config' |
|
|
|
command-args: '--global zephyr.base-prefer configfile' |
|
|
|
command-args: '--global zephyr.base-prefer configfile' |
|
|
|
- name: West Zephyr Export |
|
|
|
- name: West Zephyr Export |
|
|
|
uses: ./.github/actions/zephyr-west # Uses an action in the root directory |
|
|
|
uses: ./.github/actions/zephyr-west # Uses an action in the root directory |
|
|
|
id: west-zephyr-export |
|
|
|
id: west-zephyr-export |
|
|
|
|
|
|
|
working-directory: 'workspace/zmk' |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: 'zephyr-export' |
|
|
|
command: 'zephyr-export' |
|
|
|
- name: West Build |
|
|
|
- name: West Build |
|
|
|
uses: ./.github/actions/zephyr-west # Uses an action in the root directory |
|
|
|
uses: ./.github/actions/zephyr-west # Uses an action in the root directory |
|
|
|
id: west-build |
|
|
|
id: west-build |
|
|
|
|
|
|
|
working-directory: 'workspace/zmk' |
|
|
|
with: |
|
|
|
with: |
|
|
|
command: 'build' |
|
|
|
command: 'build' |
|
|
|
command-args: '-b nucleo_wb55rg -- -DSHIELD=petejohanson_handwire' |
|
|
|
command-args: '-b nucleo_wb55rg -- -DSHIELD=petejohanson_handwire' |
|
|
|