From ab5644592417bb1185d99d0cd7f41180a69d7128 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Wed, 11 Jan 2023 22:21:05 +0000 Subject: [PATCH] .github/zephyr: add new manifest-check Other jobs typically use `west update --narrow` which is faster but also able to fetch "wild" SHA1s from any random place! It is useful for testing unmerged Zephyr commits but risks accepting "invalid" zephyr commits; this will not. Signed-off-by: Marc Herbert --- .github/workflows/zephyr.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/zephyr.yml b/.github/workflows/zephyr.yml index a9df54e65..f2585bda0 100644 --- a/.github/workflows/zephyr.yml +++ b/.github/workflows/zephyr.yml @@ -15,6 +15,30 @@ concurrency: cancel-in-progress: true jobs: + + manifest-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + path: ./workspace/sof + + - name: plain west update + run: | + + : This plain 'west update' does not provide 100% certainty that + : all the manifest revisions make sense but it is quick and + : will catch many revision problems. Other jobs typically + : use 'west update --narrow' which is faster but + : also able to fetch "wild" SHA1s from any random place! --narrow + : is useful for testing unmerged Zephyr commits but risks + : accepting "invalid" ones, this will not. + + pip3 install west + cd workspace/sof/ + west init -l + west update + build-linux: runs-on: ubuntu-20.04 strategy: