mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-02-05 18:51:28 +08:00
- bump to Zephyr 4.3 - use west packages pip --install - use "west sdk install" command to install the expected sdk version. - only install arm-zephyr-eabi compiler as build tested only on arm targets Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
OpenAMP lib build check docker action
This action test builds for a specified target.
Inputs
target
Required the build target. Default "linux".
The supported targets are:
linux
generic arm
zephyr
Example usage
Inside a github action use:
uses: ./.github/actions/build_ci
with:
target: linux
Desktop testing
Right now the directory expectations of the CI script are very messy. This should be cleaned up in a future PR.
Desktop testing is possible but is likewise messy right now.
One time setup, starting in open-amp directory:
$ git clone https://github.com/OpenAMP/libmetal.git
A sequence like below will work, change the "zephyr" at the end of the docker command line to "linux" or "generic" for the other working tests
$ docker build -t openamp-ci .github/actions/build_ci/ && docker run -it --rm -v$PWD:/prj -w /prj openamp-ci zephyr
$ sudo rm -rf build* zephyr*