301b6e0423
CI is failing and it seems related to cache. Remove for now to get CI passing again. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
33 lines
780 B
YAML
33 lines
780 B
YAML
name: Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container: zephyrprojectrtos/ci:latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
path: example-application
|
|
|
|
- name: Initialize
|
|
working-directory: example-application
|
|
run: |
|
|
pip3 install -U west
|
|
west init -l .
|
|
west update
|
|
pip3 install -r ../zephyr/scripts/requirements-base.txt
|
|
|
|
- name: Build firmware
|
|
working-directory: example-application
|
|
run: |
|
|
west build -b custom_plank -s app
|
|
|
|
- name: Archive firmware
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: firmware
|
|
path: example-application/build/zephyr/zephyr.*
|