Print the freespace so we can monitor how close we are to overflow.
Also allow manual trigger for main CI action.
Signed-off-by: Bill Mills <bill.mills@linaro.org>
On GitHub, this check is tagged as "Required."
However, if a PR only affects the following folders:.github, docs,
scripts, or cmake, the check is not executed (to avoid false positives),
resulting in the status "execution pending" + "required" on GitHub.
This commit forces the execution of the check but bypasses the
compliance.xml test when the PR only affects the listed folders.
If at least one update affects other folders, the compliance check
runs as usual.
In addition, the cmake folder is removed from the list, as there is
no reason to skip compliance tests on it.
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
Allow Zephyr testing to either use locked known good values
or the very latest versions.
This brings open-amp to parity with libmetal. Open-amp did not have the
SDK URL discovery code so that was added here as part of this.
The known good versions are best for PR checking as if the build fails
it is almost always the PR itself that broke it.
The latest version is good for periodically checking compatibility with
the very latest Zephyr changes.
For now we run both on pushes and PRs.
We also run main against the latest zephyr check weekly as a look ahead.
Signed-off-by: Bill Mills <bill.mills@linaro.org>
To have a coherent directory hierarchy, move the open-amp git from root
to the "./open-amp" directory.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
By default the action closes the PR or issue 7 days after adding the
stale label.
The expected behavior is that the pull requests and issues will never be
closed automatically by the bot.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
The CI does not consider "check" reported by checkpatch.
This commit fixes it by:
- rebasing check_compliance.py compliance.yml to integrate Zephyr updates,
- add detection of the "check" in the report.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Enable the use of codespell tool in checkpatch.pl
For this the checkpatch.pl as been partially rebased on the Linux one.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
- Rebase check_compliance.py and compliance.yml from zephyr project
- Fix checkpatch subprocess command.
- rebase
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Separate the workflow as done in the libmetal library.
One for the patch compliance cheks, another one
for the build tests.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
This patch add build tests for Linux, Arm platform and Zephyr OS.
Notice that for Zephyr, openamp and libmetal have been forked.
As consequence the associated openamp and libmetal
modules are updated and some Zephyr samples are compiled directly in
the zephyr environment.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
The webispy/checkpatch-action does not seems to work properly.
Even if it detects coding style issue, the return state is successful.
This patch replaces the action by the compliance python script obtained
from the Zephyr project.
This script also runs gitlint to check commit messages.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>