| # Copyright lowRISC contributors. |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| # SPDX-License-Identifier: Apache-2.0 |
| # Check generated files are up to date |
| make -C hw regs && git diff --exit-code |
| echo -n "##vso[task.logissue type=error]" |
| echo "Register headers not up-to-date. Regenerate them with 'make -C hw regs'." |
| make -C hw top && git diff --exit-code |
| echo -n "##vso[task.logissue type=error]" |
| echo "Autogenerated tops not up-to-date. Regenerate with 'make -C hw top'." |
| make -C hw otp-mmap && git diff --exit-code |
| echo -n "##vso[task.logissue type=error]" |
| echo "Autogenerated OTP memory map files not up-to-date. Regenerate with 'make -C hw otp-mmap'." |
| make -C hw lc-state-enc && git diff --exit-code |
| echo -n "##vso[task.logissue type=error]" |
| echo "Autogenerated LC state not up-to-date. Regenerate with 'make -C hw lc-state-enc'." |